Gallery Widget
A responsive image grid with a built-in lightbox.
What it does
Renders your gallery images in a responsive grid. Clicking any image opens a fullscreen lightbox with the image title, caption, and close/escape controls. Images are served from the Statiq media endpoint — no external CDN needed.
Admin setup
- Go to Dashboard → Gallery.
- Click Add Image. Either upload a file (up to 10 MB) or paste an external image URL.
- Optionally add a title, caption, and sort order.
- Save. The image appears in the gallery widget immediately.
Embed
Widget snippet
<div data-statiq="gallery"></div>
Attributes
Images are ordered by sort order (ascending), then by creation date. Set sort order in the gallery editor to control display sequence.
Live Preview
Uses your real site data. Enter your site key to render this widget live.
Enter your site key above to preview this widget with your real data.