WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by taha.tr v0.6

Gallery Block Lightbox

Extremely lightweight yet powerful and touch-friendly, jQuery-free, Lightbox toggle button for core Gallery block and supports custom-coded galleries.

Gallery Block Lightbox

The facts

Active installs
100+
Price
Free
Last updated
25 Nov 2025
Added
Jul 2024
Requires WP
6.3
Tested up to
WP 6.9.7
Requires PHP
7.4
Downloads
1,822

Our analysis

AI-assisted

Gallery Block Lightbox is a WordPress plugin that enhances the core Gallery block by adding a Lightbox feature. It allows you to easily enable or disable this feature for individual gallery blocks using a simple toggle button. The plugin also supports custom coded galleries through a filter.

The Lightbox is fully responsive and supports various interaction methods, including touch and mouse actions. It features zoom capabilities, thumbnails, slide counters, and figcaptions, all while being lightweight and free of jQuery dependencies. This plugin is suitable for users looking to improve their image gallery presentations on WordPress sites.

Best for: This plugin is best for WordPress users who want to enhance their image galleries with a Lightbox feature.

What it does well

  • Adds Lightbox feature to core Gallery block
  • Supports custom coded galleries
  • Fully responsive design
  • Lightweight at only 2.78kb gzipped
  • No jQuery dependency

Where it falls short

  • Limited information on user ratings and feedback
  • Requires PHP 7.4

Verdict

Gallery Block Lightbox provides a straightforward way to add Lightbox functionality to your galleries. It is a lightweight option for those looking to improve their image display without additional dependencies.

From the developer

taha.tr's own description of Gallery Block Lightbox, lightly tidied.

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.

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for photo galleries.

Smart Slider 3

Responsive slider plugin to create sliders in visual editor easily. Build beautiful image slider, layer slider...

Free 800k+ installs 4.9★ (1,123)
Gallery

Gallery

91

FooGallery is a fast, responsive photo gallery and image gallery plugin with 7 gallery layouts, built-in light...

Free 100k+ installs 4.8★ (986)
Firelight Lightbox

Formerly Easy Fancybox. The most popular WordPress lightbox plugin. Simple, fast, and responsive. Opens images...

Free 200k+ installs 4.8★ (355)
Feeds for YouTube

The Feeds for YouTube plugin allows you to display customizable YouTube feeds from any YouTube channel.

Free 100k+ installs 4.9★ (200)