Start here
Editing and styles
Media and content
Tutorials
Site and publishing
Layout and navigation
Forms and services
A lightbox enlarges an image over the current page. Start with an image element, choose its click action, then style the overlay and controls.
Select the image and choose On Click > Zoom Image in Lightbox. Use an image element when the picture itself should open in a lightbox. The screenshot below shows the action in the inspector.
Open the Lightbox editor to preview the enlarged image while adjusting its settings. Choose the background color and opacity, padding, Fit or Fill behavior, opening duration and easing. Check that the subject remains visible and that the close control is easy to find.
The Lightbox Editor lets you position and style controls, including custom close artwork. Enable Image Description when a caption helps explain the photo; choose Custom, Below Image or Bottom of Screen placement and adjust its width and text style. Gallery lightboxes also offer navigation and slideshow controls.
The two illustrations below compare a light and dark overlay. Choose colors that keep both the image and its controls clear.
Use Presets in the Lightbox editor to save a named appearance and reuse it on image, gallery, grid and video lightboxes in this project. A preset includes control positions and artwork, caption styling and behavior; it does not replace the media or its description.
Revert restores the selected preset’s saved settings to the edited lightbox. Updating a saved preset does not automatically restyle lightboxes that previously used it; select the preset on those elements when you want to apply the updated appearance.
Enable the Zoom Icon and choose its shape, position, size and color. You can use custom artwork when needed. Keep the cue visible without covering the subject. Use a sufficiently large source image: enlarging a small thumbnail cannot add detail.
Click the duck photo below to open a working example with an image description. Close it with the visible close button or Escape, then open it again. This is a single-image lightbox; gallery navigation is configured on a gallery.
Check the enlarged image, caption placement and close control in Preview and in the published page. Try keyboard activation and Escape, narrow viewports and reduced-motion settings. If you use image protection, review the lightbox too: it inherits the image’s protection settings.
See Images for source and zoom-icon options, or Image Galleries for multi-image browsing, navigation and slideshow settings.
Please report any shortcoming in this documentation and we’ll fix it as soon as possible!
Updated for Sitely 8
Powerful and refreshingly simple, at home on Mac, finding new freedom on iPad.
Always on. Keeps the site working.
Enables optional features.
Remembers your settings.
Counts visits and page views.
Tailors ads to your browsing.
We and our partners use optional cookies for extra features, saved preferences, visit counts and personalised ads. To change your choices later, use Cookie settings in the footer.
Closing keeps optional cookies off. Privacy policy