PDA

View Full Version : Pictures don't...


voyager12
11-30-2002, 03:12 AM
show up on my web page except on my computer. Had several friends visit my web site, they can read the text but all the pics are a white box with an "x" in the upper left hand corner. So how can I get the pics uploaded to my server?
Thanks
Richard

ByteWizard
11-30-2002, 04:04 AM
Richard...

Your pictures are showing on your computer because the <img> tag has a parm "src=" which tells the image tag where the picture is located. If you used FP to build you site and browsed to a picture on your computer, the location of the picture on your disk is the qualified file name for the pic. Once you move your code to the web server, the code (unless you change it) is still pointing to a dir on your disk. When you load the web site on your machine, the html code will find the picture on your local drive... BUT when anyone else loads the html code, they will not find the picture.

Sooooo
Create a directory on your web site called \Images (or whatever you want to call it) and load your pictures to the web site in this directory. Change your HTML code so that you point to the picture location on the web server. Something like \Images\mypicture.jpg Careful of case, because it will be case sensitive.