You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating a gallery of responsive images using picture, source and img and I'd like to use the same in photoswipe. The issue which I have is that photoswipe preloads original jpg files when moving to the next/previous slide, or in case of this example - when you open first picture: https://photoswipe.com/custom-content. Also if you open a picture and then close it, webp image is loaded on open, and on slide closing jpg image is loaded.
In my example it looks like this: when I navigate to 3rd image, it loads first image in jpg and then, as I proceed further, it keeps loading avif and jpg.
Running into a similar issue. After further debugging it seems that photoswipe still requests the jpeg while the contentRemove event 🤔 Did you found any solution?
Hello!
I'm creating a gallery of responsive images using picture, source and img and I'd like to use the same in photoswipe. The issue which I have is that photoswipe preloads original jpg files when moving to the next/previous slide, or in case of this example - when you open first picture: https://photoswipe.com/custom-content. Also if you open a picture and then close it, webp image is loaded on open, and on slide closing jpg image is loaded.
In my example it looks like this: when I navigate to 3rd image, it loads first image in jpg and then, as I proceed further, it keeps loading avif and jpg.
Code snippets:
The text was updated successfully, but these errors were encountered: