Lightbox for Gallery & Image Block
by Johannes Kinast 5 (88 reviews)

Lightbox for Gallery & Image Block

Adds a simple & lightweight Lightbox to the standard WordPress Gallery & Image Block. No lock in and no dependencies.

Compatible with WP 6.9.4
v1.16.1 Current Version v1.16.1
Updated 2 months ago Last Update on 29 Jan, 2026
Refreshed 6 hours ago Last Refreshed on
Rank
#1,367
No change
Active Installs
20K+
-17.4%
KW Avg Position
88.4
+0.4 better
Downloads
189.8K
+56 today
Support Resolved
0%
No change
Rating
100%
Review 5 out of 5
5 (88 reviews)

Next Milestone 30K

Total Progress 32.2%
20K+ 30K+
249
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 6,785 more installs to reach 30K+

Rank Changes

1,299 1,333 1,368 1,403 1,437 31-03-2026 01-04-2026 02-04-2026 03-04-2026 04-04-2026 05-04-2026 06-04-2026 07-04-2026
1,362 1,367 1,372 1,377 1,382 23-03-2026 24-03-2026 25-03-2026 26-03-2026 27-03-2026 28-03-2026 29-03-2026 30-03-2026 31-03-2026 01-04-2026 02-04-2026 03-04-2026 04-04-2026 05-04-2026 06-04-2026 07-04-2026
1,332 1,345 1,359 1,372 1,385 08-03-2026 09-03-2026 10-03-2026 11-03-2026 12-03-2026 13-03-2026 14-03-2026 15-03-2026 16-03-2026 17-03-2026 18-03-2026 19-03-2026 20-03-2026 21-03-2026 22-03-2026 23-03-2026 24-03-2026 25-03-2026 26-03-2026 27-03-2026 28-03-2026 29-03-2026 30-03-2026 31-03-2026 01-04-2026 02-04-2026 03-04-2026 04-04-2026 05-04-2026 06-04-2026 07-04-2026
1,331 1,346 1,360 1,374 1,389 07-01-2026 08-01-2026 09-01-2026 10-01-2026 11-01-2026 12-01-2026 13-01-2026 14-01-2026 15-01-2026 16-01-2026 17-01-2026 18-01-2026 19-01-2026 20-01-2026 21-01-2026 22-01-2026 23-01-2026 24-01-2026 25-01-2026 26-01-2026 27-01-2026 28-01-2026 29-01-2026 30-01-2026 31-01-2026 01-02-2026 02-02-2026 03-02-2026 04-02-2026 05-02-2026 06-02-2026 07-02-2026 08-02-2026 09-02-2026 10-02-2026 11-02-2026 12-02-2026 13-02-2026 14-02-2026 15-02-2026 16-02-2026 17-02-2026 18-02-2026 19-02-2026 20-02-2026 21-02-2026 22-02-2026 23-02-2026 24-02-2026 25-02-2026 26-02-2026 27-02-2026 28-02-2026 01-03-2026 02-03-2026 03-03-2026 04-03-2026 05-03-2026 06-03-2026 07-03-2026 08-03-2026 09-03-2026 10-03-2026 11-03-2026 12-03-2026 13-03-2026 14-03-2026 15-03-2026 16-03-2026 17-03-2026 18-03-2026 19-03-2026 20-03-2026 21-03-2026 22-03-2026 23-03-2026 24-03-2026 25-03-2026 26-03-2026 27-03-2026 28-03-2026 29-03-2026 30-03-2026 31-03-2026 01-04-2026 02-04-2026 03-04-2026 04-04-2026 05-04-2026 06-04-2026 07-04-2026
Current #1,367
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

40 50 60 70 80 90 100 110 31-03-2026 01-04-2026 02-04-2026 03-04-2026 04-04-2026 05-04-2026 06-04-2026 07-04-2026
0 100 200 23-03-2026 24-03-2026 25-03-2026 26-03-2026 27-03-2026 28-03-2026 29-03-2026 30-03-2026 31-03-2026 01-04-2026 02-04-2026 03-04-2026 04-04-2026 05-04-2026 06-04-2026 07-04-2026
0 50 100 150 200 08-03-2026 09-03-2026 10-03-2026 11-03-2026 12-03-2026 13-03-2026 14-03-2026 15-03-2026 16-03-2026 17-03-2026 18-03-2026 19-03-2026 20-03-2026 21-03-2026 22-03-2026 23-03-2026 24-03-2026 25-03-2026 26-03-2026 27-03-2026 28-03-2026 29-03-2026 30-03-2026 31-03-2026 01-04-2026 02-04-2026 03-04-2026 04-04-2026 05-04-2026 06-04-2026 07-04-2026
0 1K 2K 3K 4K 5K 07-01-2026 10-01-2026 13-01-2026 16-01-2026 19-01-2026 22-01-2026 25-01-2026 28-01-2026 31-01-2026 03-02-2026 06-02-2026 09-02-2026 12-02-2026 15-02-2026 18-02-2026 21-02-2026 24-02-2026 27-02-2026 02-03-2026 05-03-2026 08-03-2026 11-03-2026 14-03-2026 17-03-2026 20-03-2026 23-03-2026 26-03-2026 29-03-2026 01-04-2026 04-04-2026 07-04-2026
0 1K 2K 3K 4K 5K 07-04-2025 19-04-2025 01-05-2025 13-05-2025 25-05-2025 06-06-2025 18-06-2025 30-06-2025 12-07-2025 24-07-2025 05-08-2025 17-08-2025 29-08-2025 10-09-2025 22-09-2025 04-10-2025 16-10-2025 28-10-2025 09-11-2025 21-11-2025 03-12-2025 15-12-2025 27-12-2025 08-01-2026 20-01-2026 01-02-2026 13-02-2026 25-02-2026 09-03-2026 21-03-2026 02-04-2026 07-04-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

5.0
88 reviews
Overall 100%
5
87 (99%)
4
1 (1%)
3
0 (0%)
2
0 (0%)
1
0 (0%)

Tracked Keywords

Showing 5 of 5
Keyword Position Change Type Updated
lightbox 15 Tag 1 day ago
gallery 42 Tag 1 day ago
block-editor 115 Tag 1 day ago
image 129 Tag 1 day ago
block 141 Tag 1 day ago

Unlock Keyword Analytics

Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.

  • Full keyword position tracking
  • Historical ranking data
  • Competitor keyword analysis
Upgrade to Pro

Support Threads Overview

Resolved
Unresolved
1
Total Threads
0
Resolved
1
Unresolved
0%
Resolution Rate

Track This Plugin

Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.

Start Tracking Free

Plugin Details

Version
1.16.1
Last Updated
Jan 29, 2026
Requires WP
5.4+
Tested Up To
6.9.4
PHP Version
5.3 or higher

Support & Rating

Rating
★ ★ ★ ★ ★ 5
Reviews
88
Support Threads
1
Resolved
0%

Keywords

Upgrade to Pro

Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.

Upgrade Now

Frequently Asked Questions

Common questions about Lightbox for Gallery & Image Block

Check if you used the built in Gallery Block and if Link to is set to Media File in the Block sidebar. On an Image Block choose Add Link at the Toolbar.
Yes! Just set the Link at the Toolbar to Media File
Set Media File to None or remove the Link.
Since WordPress 5.6 you can now set the default behavior for Link to. Go to yourblog.com/wp-admin/options.php and search for image_default_link_type. Set the value to file and hit save. This will apply to all new Image & Gallery Blocks. Or you can add the follow snipped (WordPress 5.7+ / PHP 7.4+) to your functions.php: add_filter( 'option_image_default_link_type', fn () => 'file' );
You can change the CSS selector to a gallery (or galleries) containing <a> tags used by baguetteBox.js with the baguettebox_selector filter: add_filter( 'baguettebox_selector', function( $selector ) { return $selector . ',.my-gallery'; } ) You can override the full selector by just returing your selector e.g. to show all images in your post in one lightbox (not per Gallery/Image Block): add_filter( 'baguettebox_selector', function() { return '.entry-content'; } )
If you use a Gallery or Image Block outside a post e.g. inside a Widget and want to apply the Lightbox, you need to ensure that the required baguettebox assets (script & style) are queued using the baguettebox_enqueue_assets filter. If the Widget is on every page or the majority of pages, you can just enqueue the baguettebox assets everywhere. Just add the following snippet to functions.php: add_filter( 'baguettebox_enqueue_assets', '__return_true' ); If your Widget is just at the front page, use is_front_page(): add_filter( 'baguettebox_enqueue_assets', function( $enqueue_assets ) { return is_front_page(); } ); If you want to use the Gallery & Image Block Lightbox plugin with a block type that is not supported by default, you can make use of the has_block() function. For instance, in the case of the Kadence Blocks Advanced Gallery, use: add_filter( 'baguettebox_enqueue_assets', function ( $enqueue_assets ) { return $enqueue_assets || has_block( 'kadence/advancedgallery' ); } ); Of course, in the previous example you also have to add the appropriate baguettebox selector, i.e. add_filter( 'baguettebox_selector', function( $selector ) { return $selector . ',.wp-block-kadence-advancedgallery'; } );
By default, baguetteBox.js shows a slide-in animation on image transitions. You can change it to the following filter to 'fadeIn': add_filter( 'baguettebox_animation', function () { return 'fadeIn'; } ); Or disable the animation completely with 'false': add_filter( 'baguettebox_animation', function () { return 'false'; } );
You can remove the link from the image or add the CSS class no-lightbox to the image link. Not to the image directly; you have to add the class to the link.

Sign In / Register

You need to sign in or register to use this feature.