why jpg file doesn't show on img tag?

liunx

Guest
I have some html file that has jpeg file on img tag. I don't know what the problem is. It works well with gif file, though. I would highly appreciate any advice.<!--content-->Post your code, and we'll see what we can do.<!--content-->This is a part of the code. The gif file is shown while jpg is not. Both files existed on the same directory. I tried absolute path also, but the result remained same. If I replace the jpg file with gif, it works.<br />
<br />
What seems to be the problem?<br />
<br />
<br />
<TR VALIGN=bottom><br />
<TD ALIGN=right><IMG SRC=http://www.htmlforums.com/archive/index.php/"img/tlcorner.gif" WIDTH=149 HEIGHT=134></TD><br />
<TD ALIGN=left><IMG SRC=http://www.htmlforums.com/archive/index.php/"img/title.jpg" WIDTH=372 HEIGHT=153></TD><br />
</TR><br />
<br />
Thanks for quick reply.<!--content-->I can't find anything wrong with that code. It looks immaculate, except maybe, numbers of height="#" and width="#" should be in quotes. But that won't be your problem. <br />
Can you double check <br />
- if that picture actually is viewable, <br />
- is the correct name your using, <br />
- maybe it's CaSeSeNsItIvE.JpG?<br />
<br />
If none of these work, can you post your site URL or put up on a free site so we can test it further?<!--content-->also, just type in this into the browser:<br />
<br />
<!-- w --><a class="postlink" href="http://www.yourwebsitename.com/img/tlcorner.gif">www.yourwebsitename.com/img/tlcorner.gif</a><!-- w --><br />
and you should see the gif.<br />
<br />
Now type in:<br />
<!-- w --><a class="postlink" href="http://www.yourwebsitename.com/img/title.jpg">www.yourwebsitename.com/img/title.jpg</a><!-- w --><br />
and you should see the jpg. <br />
<br />
If you dont, make sure its really in that directory. A lot if times its simply not there.<!--content-->also make sure you have jpg instead of jpeg, or vice-vesa, as I have seen it do the same thing you are explaining.<!--content-->Thank you all for your advice. They were helpful to find out what the real problem was. I just found that another application which is default application for the jpg extention name was the one hold back.<br />
<br />
I highly appreciate your quick detailed response. Thanks very much, again.<br />
<br />
-- Kevin<!--content-->
 
Back
Top