I'm using http://photoswipe.com/ to generate a photo gallery on my website, it works fine, but when I add a div inside the gallery loop, it only show some images.
Here is my HTML code: https://jsfiddle.net/mjuut2um/
I'm setting the gallery parent using:
initPhotoSwipeFromDOM('.demo-gallery');
Any idea on how to fix it?