
Advanced Lightbox for Gallery Block
v0.7dmrhn · 2024年7月30日 上架
Extremely lightweight yet powerful and touch-friendly, jQuery-free, Lightbox toggle button for core Gallery block and supports custom-coded galleries.
- 正在使用
- 100+
- 评分
- 暂无
- 累计下载
- 2,406
- 最近更新
- 2026年11月11日
贡献者
截图
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.

