跳到内容

Advanced Lightbox for Gallery Block

v0.7

dmrhn · 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日
需要 WordPress 6.3+已测试到 7.1.5PHP 7.4+

贡献者

截图

Advanced Lightbox for Gallery Block
Advanced Lightbox for Gallery Block

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums