Lightbox
The lightbox opens images full size over the page. Turn it on per layout with Click action → Open the image in a lightbox.
The items of a grid form one gallery. Visitors move with the arrows, by swiping or with the keyboard, zoom in and close with Esc. Items loaded later by the filter or Load More join the same gallery.
Forma → Settings → Lightbox:
| Setting | Default | What it does |
|---|---|---|
| Enable lightbox | On | Off: layouts set to Lightbox open the image file instead |
| Enable lightbox for WordPress native galleries and images | Off | Gallery and Image blocks linked to the media file open in the lightbox too. Links with their own lightbox are left alone |
| Show captions | On | The image caption, or the item title, under the image |
| Show arrows | On | Previous and next at the sides. Swipe and the arrow keys work either way |
| Show the zoom button | On | For images larger than the screen. A click on the image or a pinch zooms either way |
| Show the counter | On | The number of the image and how many there are |
| Show the share button | On | Facebook, X, Pinterest, the device’s share sheet, copy link and download. Grid items share their own page |
Was this article helpful?
Thanks for your feedback!