Gallery Block Lightbox
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…
Consider an alternative
Gallery Block Lightbox shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites and was last updated 11 months ago, and scores 40/100 on our health check.
- Small user base (100+ active installs)
- Very few reviews so far
- Only tested up to WordPress 6.9 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Gallery Block Lightbox stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| carousel | >100 |
| gallery | >100 |
| gallery block | >100 |
| lightbox | >100 |
| slider | >100 |
Version adoption
Share of active sites per release.
About Gallery Block Lightbox
From the official readme · v0.6Description
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.
Installation
- Download the plugin ZIP file.
- In your WordPress admin panel, navigate to Plugins -> Add New.
- Click the “Upload Plugin” button, choose the ZIP file you downloaded, and click “Install Now.”
- After installation, activate the plugin.
Frequently asked questions
How do I enable the Lightbox for the core Gallery block?
Enable or disable the Lightbox feature for any gallery block by selecting ‘media file’ under the ‘link to’ dropdown. Once selected, the Lightbox toggle will appear.
Can I use Lightbox with my custom galleries?
Yes, you can use the lightbox with custom galleries by using the provided filter. Example code is provided for reference. add_filter( ‘dLightbox:custom:selectors’, function ( $selectors ) { $selectors = array_merge( $selectors, array(‘.my-gallery’, ‘.your-gallery’) ); return $selectors; });
Is it mobile touch friendly?
dLightbox.js supports touch, mousewheel, keyboard, and mouse drag interactions.
Is it supports thumbnails?
Yes it supports Lightbox thumbnails with an easy toggle. Also with “dLightbox-thumbnails” class you can easily adapt thumbnails to your custom coded galleries.
Is the lightbox responsive?
Yes, the lightbox feature provided by Gallery Lightbox is fully responsive, ensuring optimal viewing experiences across all devices.
Does it need jQuery?
No, there is no dependency on jQuery. dLightbox is custom coded from scratch, ensuring efficient performance and compatibility with modern web development practices.
Does the plugin impact page loading speed?
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. This ensures minimal impact on page loading speed.
What if I encounter any issues or have feature requests?
If you encounter any issues, have feature requests, or need support, please visit the GitHub repository and create an issue. Our team will be happy to assist you.
Changelog
0.6
- Improved dLightbox.js code
- Fixed an issue when toogle off thumbnails
0.5
- Improved dLightbox.js code
- Added auto carousel to thumbnails container if wider than viewport
0.4
- Improved double click to zoom
- Added double tap to zoom on mobile
0.3
- Added Zoom to original image size on double click
0.2.1
- Added Caption Toggle
0.2
- Added Dynamic Thumbnails
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Gallery Block Lightbox alternatives
All carousel plugins →FAQ
Gallery Block Lightbox: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Oct 12, 2026
Is Gallery Block Lightbox free?
Yes. Gallery Block Lightbox is free to download and use from the official WordPress.org plugin directory.
Is Gallery Block Lightbox safe to use in 2026?
Gallery Block Lightbox shows warning signs in 2026 — compare the alternatives below before installing. It runs on 100+ sites and was last updated 11 months ago, and scores 40/100 on our health check.
How many websites use Gallery Block Lightbox?
Gallery Block Lightbox is active on 100+ WordPress websites and has been downloaded 1,969 times since it launched in July 2024. It was downloaded 108 times in the last 30 days.
Does Gallery Block Lightbox work with WordPress 7.1?
Gallery Block Lightbox is officially tested up to WordPress 6.9.10, while the latest release is 7.1.3. It may still work, but try it on a staging site first.
What PHP version does Gallery Block Lightbox need?
Gallery Block Lightbox requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Gallery Block Lightbox last updated?
The latest version, 0.6, was released on November 25, 2025 (11 months ago).
Who makes Gallery Block Lightbox?
Gallery Block Lightbox is developed and maintained by taha.tr.
What are the best alternatives to Gallery Block Lightbox?
The most popular alternatives to Gallery Block Lightbox are Shortcodes Ultimate (400K+ installs), Carousel, Slider, Photo Gal… (60K+ installs) and Carousel Slider Block for G… (50K+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card

