dimsemenov / Magnific-Popup

Light and responsive lightbox script with focus on performance.
http://dimsemenov.com/plugins/magnific-popup/
MIT License
11.39k stars 3.49k forks source link

Can the first image zoom in, too? #837

Open ianthedev opened 8 years ago

ianthedev commented 8 years ago

Under the zoom effect enabled, the first image we click on still shows directly rather than zooms in like the second and the rest images do.

Can the first image zoom in like the second and the rest images do, too?

samwilliscreative commented 8 years ago

I'm having this issue too unfortunately.

jbaartman commented 8 years ago

I am experiencing this same issue, the first image does not open with the zoom. Any time I click after that first initial click it works. Any solution?

martinkrcho commented 7 years ago

Same here. It seems that it doesn't run the opener function when clicked for the first time.

csjui commented 4 years ago

Having same issue. Surprised this is still open...? Will post solution when I figure it out.

csjui commented 4 years ago

I found the cause of the issue. The thumbnail image and the zoom image must be the same file. Kind of annoying, since thumbnails should link to a different, larger sized image to save bandwidth...