How to zoom an image in a lightbox

A lightbox enlarges an image over the current page. Start with an image element, choose its click action, then style the overlay and controls.

1. Enable the zoom action

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.

Image On Click menu with Zoom Image in Lightbox selected.

2. Edit the lightbox

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.

A lightbox with a light translucent page overlay.
The same image in a lightbox with a dark translucent overlay.

3. Reuse a lightbox preset

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.

4. Make the zoom action visible

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.

Try the lightbox

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.

Preview and review

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.

Product

Documentation

Pricing

What’s new

Download: iPad | Mac

© 2026 Crinon. All rights reserved.

Made with ♥ for iPad and Mac

Close and reject optional cookies

Cookie Bite  Cookie choices

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.

Reject all
Accept all

Closing keeps optional cookies off.  Privacy policy