Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Images not showing on web server

Status
Not open for further replies.

developer155

Programmer
Joined
Jan 21, 2004
Messages
512
Location
US
Maybe someone here can help me with this:
I created my web site and purchased hosting.
Then I uploaded by html and gif files to the ftp site they provided.
I transfered the images in the folder that they were in on my PC, folder is called images( I use a little app called FTP Commander)
It looks like all the images are on their server in images folder under All my HTML pages are in The problem is I do not see images on the website, only white boxes
Here is how I reference the images:
/images/SomeIMG.gif

and again my code in in that contains images folder
What am I doing wrong? THe provider does not have phone support and I have been waiting for the responce to my email for 3 day


thanks for any help!!!
 
try
Code:
images/SomeIMG.gif
i.e. without the leading '/'

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Some servers are case sensitive when it comes to file names. As a habit, I use all lower case letters for file names and make sure that the files are referred to in the HTML code with lower case names.

Lee
 
Another thing to take into account is lower and upper caps. If you are using a windows box at home, SomeIMG.gif is same as someimg.gif or SomeIMG.GIF, while the hosting might use a *nix box which makes a distinction between those. So make sure the names of the images you uploaded are spelled exactly the same in the html code.
 
You're using windows style folder delimiter, which is backslash. On the net, you need to use slash for that. Changing your img tag to display:
Code:
<IMG SRC="Images[b]/[/b]Illustrations[b]/[/b]Main.jpg" HEIGHT="450">
will make it work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top