Add a Lightbox to a picture so a click opens it large over a dark backdrop, and choose its size, padding, backdrop colour and speed.
Updated 24 Nov 2026
A Lightbox lets a visitor click a picture and see it large, over a colour that covers the page. A click on the backdrop, or the Escape key, closes it. This page covers the Lightbox settings. For the other effects, see Add motion.
Lightbox is only in the list for an Image element. If the image has no picture yet, it is grey and says Needs a picture in the image. Choose a picture first, then add it.
| Setting | What it does | Default |
|---|---|---|
| Max width | The widest the large picture can be, in pixels. It starts at 800. The picture is never wider than the screen allows. | 800 |
| Padding | The empty space kept between the large picture and the edges of the screen, in pixels. It starts at 20. Use the two small buttons beside the number: the first keeps one number for all sides, the second (Padding per side) sets Top, Right, Bottom and Left one by one. Max width and Padding have - and + buttons, and the up and down arrow keys change them by 1 (hold Shift for 10). | 20 |
| Z index | Which layer the lightbox sits on when you have more than one. From -1 to 10, and it starts at 10. A higher number sits in front. | 10 |
| Backdrop | The colour that covers the page behind the picture. It starts at black, 80% solid. Click the colour to change it (it opens a Fill picker). Click the x to have no backdrop, so the picture opens over the page. Click Add... to bring it back. | Black, 80% solid |
| Transition | How the picture grows from its place and goes back. See Set the speed and feel of an effect. | Spring, 0.4 seconds, bounce 0.2 |
The picture keeps its own shape. It grows from where it sits on the page, and when closed it goes back there. The visitor sees the largest version of the picture you uploaded.
The picture is shrunk to fit the screen, keeping your Padding, so it is never wider than the phone. A visitor taps the picture to open it and taps the backdrop to close it.
The picture opens and closes with no animation when:
Can I add a Lightbox to a box with a background picture? No. It works on an Image element only.
Does it slow my page? Only pages that use a Lightbox load the small script it needs. A page with no Lightbox loads nothing extra.
Does it show on the canvas? No. Publish your site to see it on the live page.