Other example
Using galleria lightbox with content
You can easilly create a lightbox gallery from linked images inside content. Just pass keep_source: true
to galleria, and it will
keep the content but still activate galleria on the images within the content block. It will add the linked image as image and the link as thumbnail per default. Try clicking the image to the left in this paragraph.
If you have bigger images inside the source area, galleria will include that as well as a clickable image. This makes it possible to add a lightbox gallery to any content that has images inside it, linked or not.
You can of course add captions anywhere close to the image and include it in galleria using the
data_config
option.
A mini-gallery anywhere
If you don't pass thumbnails: false
you can collect the images and let galleria create a mini-gallery with thumbnails like the one below.