Personal website problems - stumped

Danman

LIFETIME SPONSOR
Nov 7, 2000
2,211
3
I made a little website with some pics (riding, the family and what not) and it works great from my hard drive. I can open the files and view it all with IE. I uploaded it to my space and no pics work. All pics look like have white squares with red X's in them. Anyway. I uploaded a few pic to my site (not ones that I want on my page). I can view some of them buy typing in the URL with the file name, but I can't view anything I have uploaded lately. Some pics work and some don't All were taken with my digital camera and I can open them on my hard drive. I have tried re-uploading them with a different program, but no dice. Totaly stumped.
 

Okiewan

Admin
Dec 31, 1969
29,555
2,237
Texas
check the path to the pics, if you can read it locally, means the path points to the pics on your hard drive.
 

Danman

LIFETIME SPONSOR
Nov 7, 2000
2,211
3
I'm pretty sure I have the path right as I was able to insert a pic that a friend sent me. I uploaded it and changed just the file name to his file name and I when I pulled up the page I see his pic were I inserted it, but when I change it back to my file name I can't see it. It looks like this in the html file:

<img src="/web/me_on_hill.jpg" width="600" height="400" align="absmiddle">

From my space I built a directory called web. I tried using the full URL. I also tried the full url in my browser and no dice. I was telling a guy at my work about it that used the same provider and he stole my code and inserted his pics in there and it worked just fine. I have tried the path several different ways and it still does not work :whiner:
 

Hucker

~SPONSOR~
Sep 15, 2000
999
0
I don't know if this has any impact but..

when putting /web/ that means that the web folder is directly off of "root" or / which it probably isn't. Try putting a ~ like this ~/web/

The ~ represents your home directory. So now the webserver will be looking for the folder "web" directly under YOUR home folder, and not /web/ which is a "web" folder directly off of root.
 

Danman

LIFETIME SPONSOR
Nov 7, 2000
2,211
3
It was something in the path. I just downloaded and evaluation copy of Coffecup HTML editor. Pretty much the only thing they did different was started the tage out like this ../web/ I just used it edit the file. Works now from hear.

Web page test

Its not done yet. I have to resize the pics for thumbnails and add a bunch more and some text and a links section.
 

Welcome to DRN

No trolls, no cliques, no spam & newb friendly. Do it.

Top Bottom