dimsemenov / PhotoSwipe

JavaScript image gallery for mobile and desktop, modular, framework independent
http://photoswipe.com
MIT License
24.26k stars 3.31k forks source link

Image enlarger takes a long time to appear #1524

Open Klass-A opened 6 years ago

Klass-A commented 6 years ago

When I click on the thumbnail Image, It takes +4s to open on 150 kB/s connection, I'm serving large images, around 1000x2000 but I'm using a preload spinner and I want the placeholder/spinner to appear right away and then It's okay if It took another seconds to fully load. Now this is not the cases, after click nothing appears until +4s and then preloader appears quickly and images shows afterward. Any help would be MUCH APPRECIATED!


Update: It appears that what's slowing it down is getting the image size. Has that happen to anyone?

rawthriver commented 6 years ago

+1