Has anyone successfully created a featherlight gallery? I would like visitors of my site to be able to flip through a gallery of photos. I've used {{ page.media['sample-image.jpg'].lightbox(1024,768).cropResize(200,200).html('Sample Image') }} to successfully add a lightbox to a page. It opens fine. When I load featherlight.gallery.min.js onto the page (the JS required for a gallery) something odd happens. The gallery will open, but so too does the original lightbox. So after I close the gallery, there's another lightbox. I have to close both of them. Then I use
{% for image in page.media.images|sort %}
{{ image.lightbox(400,400).cropResize(350,350).html() }}
{% endfor %}
to loop through the page's images. Every picture will appear on the page, rather than just clicking one image on the page and then scrolling through all the photos, like a gallery is suppose to. And I still have the issue of double windows popping up. Does anyone know how to create a gallery with multiple images, and has anyone run into the problem of double windows?