Skip to main content

Gallery

A flexible image gallery with seven layout designs, a built-in lightbox and captions. Tabs: Content, Design, Style, Animations, Advanced.

A lightbox is the overlay that opens an image at full size, dimming the page behind it, so visitors can look closely and step through photos without leaving the page.

💡 Web dev tip: give images good alt text

Write descriptive alt text for every image that carries meaning — it's what screen-reader users hear, and what shows if the image fails to load. Purely decorative images should use empty alt (alt="") so assistive tech skips them. Also keep source files reasonably sized: the browser lazy-loads off-screen images and picks a fitting size from srcset, but it can't rescue a 4000px photo you never needed — a lighter page loads faster and ranks better. MDN: image alt · MDN: responsive images

Live demo​

▶ See the Gallery live on the demos site — an interactive example you can click through.

Content​

Gallery options panel — Content tab
  • Title — optional heading above the gallery.
  • Images — the gallery images (multi-upload).

Design​

Gallery options panel — Design tab
OptionChoices
DesignGrid · Masonry · Justified · Metro · Carousel · Polaroid · Showcase

Each design reveals its own options:

  • Grid / Masonry / Polaroid — Columns (Desktop / Tablet / Mobile, 1–6), Gap (0–60px), Image Ratio (Square 1:1, Landscape 4:3, Photo 3:2, Wide 16:9, Portrait 3:4, Original).
  • Justified — Target Row Height (120–420px), Gap.
  • Metro — Columns (Desktop), Gap.
  • Carousel — Slides per View, Image Ratio, Gap, Autoplay (+ Interval, Loop, Pause on Hover), Show Arrows, Show Dots.
  • Showcase — Image Ratio, Thumbnail Position (Below · Left · Right), Gap.

Style​

Gallery options panel — Style tab
OptionChoices
ContainerNone (full width) · Container · Fluid
On Image ClickOpen Lightbox · Open Full Image · Go to Attachment Page · Do Nothing
CaptionsNone · Overlay on Hover · Below the Image
Caption SourceImage Caption · Image Title · Alt Text · Description
Image StyleAny Image Style preset — crop, corners, mask, filter, scrim (Theme Settings → Components → Image Styles)
Zoom on HoverOn/Off
CornersSquare (default) · Rounded (6px) · Rounded large (12px) — ignored when an Image Style preset is applied, since the preset owns the corners

Plus Text / Background / Title / Caption Color, a Font Size Preset, and Margin & Padding.