PDA

View Full Version : Why image cannot be displayed?


lzhang
01-18-2006, 02:34 PM
My image line looks like this:

<img border="0" src="myLogo.GIF" width="342" height="64">

But it cannot be displayed. Only a little red cross is shown. But it can be properly displayed on the Preview page of MS Frontpage. I placed the image under the same program folder.

RysChwith
01-18-2006, 02:38 PM
Make certain that the capitalization is consistent. Some servers treat myLogo.GIF and myLogo.gif as separate files.

Rys

lzhang
01-18-2006, 02:43 PM
THANK YOU.

I put everything in capital letter. but still does not show.

_Aerospace_Eng_
01-18-2006, 02:57 PM
I don't think you are understanding what Rys said. Your server might be case sensitive when it comes to file names
<img border="0" src="myLogo.gif" width="342" height="64" alt="">

lzhang
01-18-2006, 03:13 PM
What do you mean that my server must be case sensitive?
I renamed the image file as "MYLOGO.GIF" and changed the code to :

<p>
<img border="0" src="MYLOGO.GIF" width="342" height="64" alt="">
</p>

_Aerospace_Eng_
01-18-2006, 03:20 PM
Now its probably
<p>
<img border="0" src="MYLOGO.gif" width="342" height="64" alt="">
</p>
Servers handle file extensions differently. Some change the casing of the extension some leave it as is. Post a link to your site and we will tell you what it should be.

lzhang
01-18-2006, 03:43 PM
Thank you. I changed the extention to lower case. Still no image. I even tried different file format, e.g. .bmp, .jpg