Re: Image Refreshing
| From: | Ade Olonoh | Date: | Tue, 04 Mar 2003 13:20:16 +0000 |
| Subject: | Re: Image Refreshing | ||
| References: | 1 | Groups: | php.smarty.general php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8382@lists.php.net to get a copy of this message | ||
Append a query string to the image url, and make sure it changes each time you change the image. This should work in most browsers so the image isn't cached. e.g.:
<img src="image1.jpg?1234">
--Ade.
Sam Saltis wrote:
All, I am replacing an existing image "image1.jpg" with another image of the same name and type and displaying the page again. I am not seeing the updated image until I manually refresh the page? When the image upload has a different type or name it works fine? Do I need something in my HTML page to get it to refresh? Or am I doing something else wrong? Cheers, Sam