Advanced Lightbox for Gallery Block
Advanced Lightbox for Gallery Block

Advanced Lightbox for Gallery Block

0/5 (0 ratings) 100 active installs Updated Nov 11, 2026
Screenshot 1

This WordPress Plugin adds an Advanced Lightbox to the core Gallery block. Select the gallery, open the Link menu in the block toolbar and choose “Advanced Lightbox” (next to “Enlarge on click”). Thumbnails and Captions toggles then appear in the block settings sidebar. It also supports custom coded galleries through a filter (check FAQ).

dLightbox.js is fully responsive, supporting touch, mousewheel, keyboard, and mouse drag interactions, double click or tap/touch to zoom original image, build-in thumbnails, as well as slide counters and figcaption. With no dependency on jQuery, dLightbox.js ensures optimal viewing experiences across all devices.

Although extremely lightweight at only 2.78kb gzipped for both dLightbox.js and dLightbox.css, the plugin only loads assets into the page if there is a core Gallery block or custom selectors defined via a filter.

Features

  • Enable directly inside the gallery block’s own Link dropdown for each Gallery block individually.
  • Custom coded galleries support.
  • Supports touch, mousewheel, keyboard, and mouse drag interactions.
  • Double click or tap/touch to zoom original image.
  • Lightbox thumbnails with an easy toggle button.
  • Slide counter and figcaption support.
  • jQuery-Free, lightweight at only 2.78kb gzipped for both dLightbox.js and dLightbox.css
  • Fully responsive.