You are here: Re: HTML problem with refreshing the browser's display of an image « HTML « IT news, forums, messages
Re: HTML problem with refreshing the browser's display of an image

Posted by Beauregard T. Shagnasty on 01/25/08 19:08

Edward Diener wrote:

> I am working on a web application which programatically changes an image
> on the server side ( via ImageMagick ) on the roundtrip between client
> and server. When the web page, in which the img tag resides, is
> redisplayed, I need Firefox

[and probably any other normal browser]

> to reread the web page in order to redisplay the image correctly
> rather than take the image from its cache.
<schnipp>

Suggestion: programmatically change the filename of the image in your
HTML. Are you generating pages on the fly? Add a timestamp to both the
<img src="" .. and the same to the filename on the server.

<img src="mypic200801251408.jpg" alt="..." height="..." width="...">

Not the easiest thing in the world to do, but it will definitely
override the cache. :-)

--
-bts
-Friends don't let friends drive Vista

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация