plugin-icon

LMDM Lightbox Gallery Membership

作者:nicmare·
Lets standalone core Image blocks join the native lightbox navigation group of a selected core Gallery block.
版本
1.0.0
最后更新
Jul 10, 2026
LMDM Lightbox Gallery Membership

WordPress ships with a native Lightbox-Effect for image and gallery blocks. This plugin adds one focused editor option to standalone core Image blocks: Join gallery.

When the native Lightbox-Effect is enabled on an Image block, the block inspector shows all Lightbox-enabled Gallery blocks on the current page. Select one of them and the standalone image becomes part of that gallery’s native lightbox navigation group on the frontend.

The plugin does not replace the core Image or Gallery blocks. It stores a stable internal lightbox group ID on Gallery blocks and a selected group ID on standalone Image blocks. During rendering, it uses the same WordPress Interactivity API context that the core Gallery block uses for native lightbox navigation.

For a more readable editor experience, gallery captions are used as select labels when available. If a gallery has no caption, the plugin falls back to a numbered label with the image count.

Plugin Features

✔ extends the existing core Image and Gallery blocks ✔ adds a Join gallery selector to standalone Image blocks ✔ only shows the selector when the native Lightbox-Effect is active ✔ only lists Gallery blocks whose native Lightbox-Effect is active ✔ uses Gallery captions as human-readable select labels ✔ stores stable internal group IDs on Gallery blocks ✔ wraps selected standalone Image blocks in the required core/gallery interactivity context ✔ keeps the native WordPress lightbox overlay and navigation behavior ✔ ships with English and German PO, MO and JSON translation files ✔ uses no build step and no custom replacement block

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 7.0.1
这个插件是可用的下载,适用于您的站点。