Image hosting issue

Shadowness

Well-Known Member
Joined
Jun 20, 2005
Messages
1,111
Location
Midlands, UK
Car(s)
Caged Clio 182 Track Car
Hi guys,

Im trying to host an image on my own website, but Im not sure how I do it :?

Ive put a couple of images in a new folder Ive created in my root directory. But when I paste the link of the photos in a browser, it asks for the ftp password.
Now that's not a problem for me, but how do I do it so anyone can view it.

Example: ftp://danfreemanphotography.com@ftp.danfreemanphotography.com/private/Random/DSC_0966.jpg

Ideally I want something like this:

_MG_17712.jpg


If you look at the location properties for that image, its in his own website, but how do you do it?!

Thanks for the help!
 
You need to host it via HTTP, not FTP.

i.e. like danfreemanphotography.com/some/folder/yourimage.jpg
 
If you display your homepage via http like http://danfreemanphotography.com that points to a specific directory on your server. If you put your image there, it is most likely displayable on the interweb. It could be, that there are some restrictions though... Just try it there first.

You always put your file there via ftp, which means "file transfer protocol", you just have to put it to the right place.
 
Last edited:
You usually upload your files via FTP, but the adress for accessing it via the web is HTTP. Check if you have the correct location within your file hierarchy. For example, I have to go into the "html" folder for storing files for web access on my webspace.
Also, check the user rights on your files. They have to be readable by the web server (like "rw-r--r--" or "644").
 
Last edited:
It wont let me change the permissions of a folder/file!
I get this:
550 Could not change perms on DSC_0966.jpg: No such file or directory


Ive created a folder called 'html'. In there are two images, Ive tried to change the permissions and as above, it wont let me :(

Not sure what to do!
 
Top