Skip to content
Advertisement

Tag: photoswipe

Photoswipe opens only first or second image

I need to have every two of images in gallery embed with extra <div>. I managed Photoswipe to use all images in that gallery. But I can’t fix problem: when I click on any thumb (not first or second one), Photoswipe every time opens only first or second image from firs <div>. Codepen DEMO here Thank you for any advice

Advertisement