Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

IE won't display images, but Firefox does



11:38 am on Jun 23, 2005 (gmt 0)

10+ Year Member

Hello everyone,

I'm experiencing a very stange problem when displaying images with a hyperlink in Internet Explorer.

For exmaple if I have the following it works,: -

<img src="images/profiles/thumb_HT02849927779F.jpg" />

If I have this:

<a href="images/profiles/HT02849927779F.jpg"><img src="images/profiles/thumb_HT02849927779F.jpg" /></a>

Then no images is displayed. If I look at the HTML I have this: -

<a href="images/profiles/HT02849927779F.jpg">


So it's actually removed the image tag - very odd me thinks!

If I have this code: -

<img src="images/profiles/thumb_HT02849927779F.jpg" />

<a href="images/profiles/HT02849927779F.jpg"><img src="images/profiles/thumb_HT02849927779F.jpg" /></a>

Then both images are displayed! I guess because the image is being cached from the first <img> tag.

Does anyone have a clue what's going on here, cos I haven't the faintest. What's even stranger is this problem is only happening with IE, it works fine in Firefox!

Any ideas are greatly received




12:41 pm on Jun 23, 2005 (gmt 0)

10+ Year Member

Found the problem - it was MY firewall removing the images as popup prevention?!

I've found a workaround, i need to make the image path absolute, i.e.

<a href="http://www.mydomain.com/images/profiles/75738086658X304.jpg" ><img src="http://www.mydomain.com/images/profiles/thumb_75738086658X304.jpg" alt="Testing" border="0" /></a>

How annoying - it's taken 3 hours to figure that one out!


1:54 am on Jun 24, 2005 (gmt 0)

Jeez wish I had known you two months ago...my bosses (in Dallas, I'm in Florida) kept trying to view a site, thought I was doing nothing...turns out they had Norton which was preventing it...I've finally taught the one boss how to clear the cache, but we noticed a different problem today, using a table, I've inserted images and it normally works, but today the table wouldn't expand to show the images to my bosses...b l e h

I'm on hour 12 of trying to bring up another virtual magazine (I know HTML only, not Java)


Featured Threads

Hot Threads This Week

Hot Threads This Month