Question:
A little mystery. I'm running IE5 at home, and if I view a web page with a gif image in it, it works fine. But if I view the same web page stored on my hard drive, the gif won't display. Likewise if I drag-and-drop a gif file to the IE window, it won't display. Doesn't seem to matter if it's an interlaced or non-interlaced gif.


I don't know about the drag-and-drop, but the first one usually happens because the href for the gif is in relative not absolute form. For instance, if the original URL of your page is www.fred.com/archers.htm, and contains an image referred to as images/archers.gif then it will be loaded from www.fred.com/images/archers.gif whereas if you store the original page as c:\archers.htm then it will try (and fail) to load the picture from c:\images\archers.gif which may well not exist.

Sorry, I was neither thinking nor typing particularly clearly - the images and html files are in the same folder, so the tag is just img src="filename.gif". Nope, the miserable bliddy software completely fails to display them if they don't arrive by modem, it seems. Weird.....

I'd be interested to hear the answer too. I'm doing a website where the gifs do not appear in IE5 but are loud and proud in Nutscrape and it's been doing my head in. Perhaps I'll upload it to some dummy web space and see what happens. One of the gifs even illustrates what I'm going through.

I'm sure this is a silly question, but I'll ask it anyway - any spaces or uppercase characters in the filenames?

No. I suspect it's something to do with rollovers but I ripped the entire script from another website that I did a year or so ago where they work perfectly - I even used the same names for the images, pages and directories just to avoid altering the script. Obviously something's adrift but, as it's not an urgent project, maybe the answer will appear in due course. (shrug)

Funny you should say that - something like that happened to me too. Ripped some rollovers from one site which then failed to work in their new home with IE, but were ok with NS. Flummoxed me at the time, so I gave up and worked around the problem rather than solving it, per se :)

If push comes to shove, I might have to abandon the rollovers but that means some less impressive graphics - I'm about to try something in Fireworks 3 though so there may be a saving grace in the failure.

What's a rollover in this context?

Certainly not a jackpot and it's with my troublemakers site. In web design jargon, they're areas, usually graphics, that change as you pass the mouse pointer over them, invoking the mouseover/mouseout switching. I did put the site up at www.rg.freedombird.net just to see if there was any different behaviour while it's on a real server. There is, now with IE the menu has disappeared altogether and yet with Nutscrape it's there and functional with rollovers as buttons. Actually, they're not real rollovers this time - yet. I tried this with something called Fireworks that includes what looks like an horrendous mess of code in place but the graphics load pretty quickly.


Last updated February 16th 2004
Back to Encyclopaedia Umratica page
Back to Umra page
Back to Home page: