getgrav

Open full view…

Featherlight Gallery

Janne Lehtinen
Tue, 20 Jun 2017 11:26:14 GMT

I'm a bit stuck trying to create a Featherlight gallery using the featherlight plugin. From the GitHub page I can see that support has been added, but there's no mention of it in the documentation so I don't really know how to get it working. Do I need to add the featherlight gallery js/css files or should it work out of the box? Any help appreciated :)

hungtran
Thu, 22 Jun 2017 02:31:16 GMT

After installing Featherlight plugin, you can use something like this in your page content: ```` ![Sample Image](sample-image.jpg?lightbox=600,400&resize=200,200) ```` More info: https://learn.getgrav.org/content/media#lightbox-width-height

arank
Thu, 22 Jun 2017 07:18:43 GMT

In the docs: [Links](https://learn.getgrav.org/content/media#links-and-lightboxes)

arank
Thu, 22 Jun 2017 07:20:35 GMT

btw, you can use the search function in learn.getgrav.org

Janne Lehtinen
Mon, 26 Jun 2017 20:56:59 GMT

Thanks all! I'm not entirely sure why the lightboxes were working but the gallery sliders were not, but I removed and re-added a bunch of stuff and now everything is working :)