|
|
 |
Re: FN-FORUM: lightbox
date posted 26th September 2007 17:44
On 26 Sep 2007, at 18:16, [EMAIL REMOVED] wrote:
>
> How do you stop images from being cached? I am using light box and
> if you
> click on the same image twice in succession you don't see the
> loading image
> the second time ass it is cached and the site owner would like to
> see it.
seriously?
the most important thing to them is the little spinny image that
shows it's being downloaded?
o.mi.god.
what a waste of bandwidth.
to answer your question, you can add a random attribute to the end
image src url (eg. img src="images/image.jpg?datetimestamp) so that
the browser thinks it has changed, but I don't think that's going to
work unless you reload the page...
just turn off caching in the clients browser....
;)
|
 |
|