Create a URL link for an image using FileZilla

lou88 -  
jordane45 Posted messages 30426 Registration date   Status Modérateur Last intervention   -

Hello,

I would like to create a link to display my image in any browser. The goal is that when you click on the image preview on my portfolio website, it can be displayed in full size. The site I'm using to design my website doesn't offer this option.

I tried using my FTP server; I uploaded the image to Filezilla in a folder I created, then I renamed "www" to the address I wanted. Now when I search for my address, the redirection doesn't work (the site is inaccessible).

How can I solve this problem? Thank you.


2 réponses

jordane45 Posted messages 30426 Registration date   Status Modérateur Last intervention   4 830
 

Hello

I renamed the "www" to the address I wanted

You must not touch the www folder....

Put it back as it was!

As for your image, just place it in a folder inside the WWW and for the URL use your site’s URL followed by the path to the image.


.
Best regards,
Jordane

0
lou88
 

Hello, thank you for your response, I renamed the www. What is the path to the image?

0
jordane45 Posted messages 30426 Registration date   Status Modérateur Last intervention   4 830 > lou88
 

If you placed your image in a subfolder of www, for example, the folder you named "images" and your file is named truc.png, the path will be:

https://urldetonsite.fr/images/truc.png

or as a relative path, compared to the page displaying your thumbnail

./images/truc.png

If you don't know this... I strongly encourage you to get training in HTML... if you don't have the minimum required knowledge, you might struggle...

0
lou88
 

I placed my image on the www, but my site shows a 404 error with https://urldetonsite.fr/images/truc.png...

0
jordane45 Posted messages 30426 Registration date   Status Modérateur Last intervention   4 830
 

If you have a 404.. it's because you've probably misspelled the path to your image...

First.. does your site have an SSL certificate enabled? If the answer is no, try without the 's' in https

http://

Next... Watch out for uppercase/lowercase letters (and as a rule of thumb, get into the habit of always naming your files and folders in lowercase (Unless you're getting into programming languages and/or based on the use of potential frameworks.. but for now... that's not the case ... ))

Also check that you haven't accidentally named your images folder or your file truc.png with extra spaces before or after...

And does your site still work? (aside from that?)

Is the URL of your site in http or https?

0