Click to See Complete Forum and Search --> : Unstalling a stalled animated gif?


lprag
08-01-2006, 09:06 PM
How does one force a gif file to reload every time a page is reloaded?

I tried these three in combination with no success:

<META http-equiv="Pragma" content="no-cache" />
<META http-equiv="Cache-Control" content="no-cache" />
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 2000 08:21:57 GMT" />

ray326
08-01-2006, 11:53 PM
It's a non-looping animation? You could serve it dynamically with a timestamp number as part of the name to make it unique each time. (myani20060801201435.gif)

lprag
08-02-2006, 10:54 AM
It's a non-looping animation? You could serve it dynamically with a timestamp number as part of the name to make it unique each time. (myani20060801201435.gif)

Please explain ...

The gif repeats the same motions over and over.

That's a looping animation?

So, how can I force it to reload each time the page is loaded,
so it does not stall?

ray326
08-02-2006, 11:50 AM
Does this happen with all browsers?

lprag
08-02-2006, 12:09 PM
Does this happen with all browsers?

Hello,

I'm not sure.

With the Firefox I'm using, yes:

Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5

With Microsoft IE I use to test with, no.

I don't have any other browsers on my box.

pacerier
08-05-2006, 06:50 AM
i never heard of this problem before but you can try to reload the image src:
<body onload="document.picture.src='yourani.gif';">

does it work?

lprag
08-06-2006, 01:01 PM
i never heard of this problem before but you can try to reload the image src:
<body onload="document.picture.src='yourani.gif';">

does it work?

Hello,

Thanks.

Before I got your above post, I solved the problem of forcing a "no cache"
in Firefox by adding an extra head section at the end of the file:

</font></center></body><head><meta http-equiv="Pragma" content="no-cache"></head></html>