BACK TO DIRECTORY

Gallery Block Lightbox

by taha.tr

0.0
(0 ratings)

This WordPress Plugin adds Lightbox feature to the core Gallery block with a simple toggle button. Easily enable or disable it for any gallery block by selecting ‘media file’ under the ‘link to’ dropdown. Once selected, the Lightbox toggle will appear. 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/disable with a simple toggle button 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.

Screenshots

Plugin Details

Active Installs
100
Total Downloads
1,880
Version
0.6
Requires WP
6.3
Requires PHP
7.4
Tested Up To
6.9.7
Added
2024-07-30
Last Updated
2025-11-25 9:59am GMT

Ratings

5
0
4
0
3
0
2
0
1
0