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:



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!
 

Viper007Bond

Chicken Nugget Connoisseur
STAFF MEMBER
Joined
Sep 21, 2003
Messages
31,049
Location
Portland, Oregon
Car(s)
2008 Dodge Viper, 2006 MB CLS55 AMG
You need to host it via HTTP, not FTP.

i.e. like danfreemanphotography.com/some/folder/yourimage.jpg
 

Shadowness

Well-Known Member
Joined
Jun 20, 2005
Messages
1,111
Location
Midlands, UK
Car(s)
Caged Clio 182 Track Car
Ah ok, so how do I upload an image to that location?

ie. how do I do it not via an FTP?

Soz for being thick!
 

ABxCD

Active Member
Joined
Oct 13, 2007
Messages
175
Location
Germany
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:

DanRoM

Forum Addict
Joined
Feb 27, 2009
Messages
8,063
Location
Ruhr Area, Germany
Car(s)
MX-5 ND, CBF1000 & two bikes
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:

Shadowness

Well-Known Member
Joined
Jun 20, 2005
Messages
1,111
Location
Midlands, UK
Car(s)
Caged Clio 182 Track Car
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