codecomputerlove/PhotoSwipe — Issue #283: How can i call dispose() function from other javascript?
Author: pratik91s
Created: 2012-02-29 10:07:35+00:00
State: open

Hi,

I want to change images (source of image) according to window re-size. It is working fine with if window gets refreshed.
But if i just simple re-size the window PhotoSwipe load the images which are in its cache.

Is there any way so that i can clear the cache of PhotoSwipe on some event or call photoswipe's dispose() function from other javascript?

Please suggest.

Thanks