BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Image & Video Lightbox icon
Possibly abandoned Tested up to 6.2.13

Image & Video Lightbox

Automatically adds Lightbox functionality to images displayed by WordPress (Gutenberg) Gallery and Image Blocks, as well as GenerateBlocks Image Blocks, and also videos created by the core Video Block, using the…

Active installs10+10+ tier
Downloads · 30d45▲ +28.6% vs prev. 30d
Rating—0 reviews
Health score23/100At risk
All-time downloads2.7KSince Jun 2023
Support resolved—No recent threads
RequiresWP 5.8PHP 7.4+
Downloads · 7d8▼ -33.3% week over week
Our verdict

Consider an alternative

Image & Video Lightbox shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 3 years ago, and scores 23/100 on our health check.

  • Small user base (10+ active installs)
  • Very few reviews so far
  • No update in 3 years
  • Only tested up to WordPress 6.2 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

123Jul 2Aug 15Sep 29
Yesterday1
Daily average (1y)1
Peak day5Oct 23, 2025
Last 12 months389

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Image & Video Lightbox stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
blocks >100 10,000 Best blocks plugins →
gallery >100 4,189 Best gallery plugins →
image >100 10,000 Best image plugins →
lightbox >100 1,486 Best lightbox plugins →
video >100 7,480 Best video plugins →

Version adoption

Share of active sites per release.

  • 1.0100.0%

About Image & Video Lightbox

From the official readme · v1.0.0

Description

Automatically adds Lightbox functionality to images displayed by WordPress (Gutenberg) Gallery and Image Blocks, as well as GenerateBlocks Image Blocks, and also videos created by the core Video Block, using the FSlightbox library.

This lightweight plugin will automatically adds Lightbox functionality to all images displayed by

  • the Core Gallery Block,
  • the Core Image Block,
  • GenerateBlocks Image Block,

and videos displayed by

  • the core Video Block

without the needs to set each gallery/image and video link to the media file so you don’t need to set them manually one by one.

Note: You can exclude specific image/video from getting the lightbox functionality by adding no-lightbox class to the image/video element.

About The Plugin

  • This plugin has no settings (you can customized the default configuration using filters), hence does not add any data to the database, so you don’t need to worry about ‘database leftovers’ if you deactivate the plugin.

  • This plugin will automatically add the wrapper link with the necessary attribute on each image and videos that uses the blocks mentioned above to add the lightbox functionality using a few lines of inline script. So it will not make any changes to your original image and video tags (if you check from the page’s HTML source), and will not add extra weight / DOM depth to your page’s HTML.

  • By default, this plugin only works with the native WordPress Gallery, Image, and Video Blocks, as well as GenerateBlocks Image Blocks. You can add additional selectors using filters to make this functionality also works with other image/video blocks. If you need to, send me a request to have your image/video block included by default.

  • This plugin will only enqueued its assets (1 JS file) to pages/posts that use blocks, and will not enqueue assets if the page/post doesn’t use one of them.

  • I provided simple hover CSS which are not enabled by default. You can enable it using filter (see below).

To add other image/video block:

Add the CSS class uses by the image/video block element, e.g:

add_filter( 'use_lightbox_in', function($use_lightbox_in) {
    return $use_lightbox_in . ',.your-other-plugin-block-image-parent-element img, .your-other-plugin-image-class';
} );

Add the block info/name so that this plugin will enqueued the FSlightbox JavaScripts if the block is use in a post/page, e.g:

add_filter( 'use_lightbox_if', function($use_lightbox_if) {
    return $use_lightbox_if . '|| has_block( "kadence/advancedgallery" ) || has_block( "your-plugin-block-name/the-block-name" )';
} );

To only enable Lightbox Functionality on certain page/post types:

Simply use the wp_dequeue function**, e.g.:

add_action( 'wp_enqueue_scripts', function() {
    if ( ! is_singular('post') ) { // only enable in single post type
        wp_dequeue_script( 'image-video-lightbox' );
    }
});

To only enable simple hover CSS:

add_filter('use_lightbox_css', function () {
   return true;
});

Why using FSlightbox?

  • FSlightbox is Vanilla Javascript Lightbox Library written in pure JavaScript without jQuery or any other additional dependencies. It’s lightweight (around 9kb *gzip)!
     
  • The JavaScript is delayable (*yes, it’s important for me). This is the only lightbox library I found that works when the JavaScript is delayed.

 

My other Plugins:

  • Optimize More! – A DIY WordPress Page Speed Optimization Pack. Features:

    • Load CSS Asynchronously – selectively load CSS file(s) asynchronously on selected post/page types.
    • Delay CSS and JS until User Interaction – selectively delay CSS/JS load until user interaction on selected post/page types.
    • Preload Critical CSS, JS, and Font Files – selectively preload critical CSS/JS/Font file(s) on selected post/page types.
    • Remove Unused CSS and JS Files – selectively remove unused CSS/JS file(s) on selected post/page types.
    • Load Gutenberg CSS conditionally – Load each CSS of the core blocks will only get enqueued when the block gets rendered on a page.
    • Advance Defer JS – hold JavaScripts load until everything else has been loaded. Adapted from the legendary varvy’s defer js method *recommended for defer loading 3rd party scripts like ads, pixels, and trackers
    • Defer JS – selectively defer loading JavaScript file(s) on selected post/page types.
    • Remove Passive Listener Warnings – Remove the “Does not use passive listeners to improve scrolling performance” warning on Google PageSpeed Insights
  • Lazyload, Preload, and more! – This tiny little plugin (around 14kb zipped) will automatically:

    • lazyload your below the fold images/iframes/videos,
    • preload your featured images,
    • and add loading="eager" to your featured image and all images that have no-lazy or skip-lazy class.
  • Shop Extra – A lightweight plugin to optimize your WooCommerce & Business site:

    • Floating WhatsApp Chat Widget (can be use without WooCommerce),
    • WhatsApp Order Button for WooCommrece,
    • Hide/Disable WooCommerce Elements,
    • WooCommerce Strings Translations,
    • and many more.
  • Animate on Scroll – Animate any Elements on scroll using the popular AOS JS library simply by adding class names. This plugin helps you integrate easily with AOS JS library to add any AOS animations to WordPress. Simply add the desired AOS animation to your element class name with “aos-” prefix and the plugin will add the corresponding aos attribute to the element tag.

 

Installation

From within WordPress

  1. Visit Plugins > Add New
  2. Search for Image & Video Lightbox or Arya Dhiratara
  3. Activate the plugin from your Plugins page

Manually

  1. Download the plugin using the download link in this WordPress plugins repository
  2. Upload the plugin folder to your /wp-content/plugins/ directory
  3. Activate the plugin from your Plugins page

Frequently asked questions

Why using FSlightbox library?

It’s lightweight (around 9kb *gzip), no dependencies, and since I love to delaying JavaScripts until user interaction, this is the only library I found that works when the JS is delayed.

Can this plugin works with other Image or Video Block?

Just try it. You can use filters like the example I wrote in the plugin description above.

Can I exclude specific image?

Yes. Just add no-lightbox class to the image/video elements.

Changelog

1.0.0

  • Initial release

Full changelog on WordPress.org →

Screenshots

Image Lightbox using this plugin
Image Lightbox using this plugin
Video Lightbox using this plugin
Video Lightbox using this plugin
Simple hover CSS provided by this plugin (not enabled by default)
Simple hover CSS provided by this plugin (not enabled by default)

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.

Active installs badge Rating badge Health score badge

Best Image & Video Lightbox alternatives

All blocks plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Spectra Legacy – Gutenberg Blocks Spectra Legacy – Gutenberg Blocks Gutenberg blocks for existing Spectra websites. Maintained, stable, and fully supported —… by Brainstorm Force 1M+ ★★★★★★★★★★ 4.7 (1.9K) 2 days ago 88
2 Kadence Blocks — Page Builder Toolkit for Gutenberg Editor Kadence Blocks — Page Builder Toolkit for Gutenberg Editor 20+ Gutenberg Blocks with endless options, enabling top-notch efficiency for… by Nexcess 600K+ ★★★★★★★★★★ 4.8 (332) 1 week ago 89
3 Extendify Extendify The best WordPress templates, pattern, and layout library with 1,000+ designs built for the… by Extendify 500K+ ★★★★★★★★★★ 4.7 (10) 2 weeks ago 76
4 SiteOrigin Widgets Bundle SiteOrigin Widgets Bundle Essential elements for modern websites. Add buttons, sliders, heroes, maps, images… by Greg - SiteOrigin 400K+ ★★★★★★★★★★ 4.9 (134) 1 week ago 92
5 Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE Otter Blocks Quickly create WordPress pages with 20+ blocks, 100+ ready-to-import designs, and advanced… by Themeisle 300K+ ★★★★★★★★★★ 4.7 (249) 14 hours ago 96
6 Page Builder Gutenberg Blocks – CoBlocks Page Builder Gutenberg Blocks – CoBlocks CoBlocks is a suite of page builder WordPress blocks for Gutenberg, with 10+ new blocks and… by GoDaddy 300K+ ★★★★★★★★★★ 4.2 (109) 7 months ago 50
7 GenerateBlocks GenerateBlocks A small collection of lightweight WordPress blocks that can accomplish nearly anything. by Tom 200K+ ★★★★★★★★★★ 4.9 (122) 1 month ago 80
8 Layout Grid Block Layout Grid Block A Gutenberg container block to let you align items consistently across a global grid. by Automattic 200K+ ★★★★★★★★★★ 4.7 (13) 3 years ago 43
9 Stackable – Page Builder Gutenberg Blocks Stackable – Page Builder Gutenberg Blocks The complete website builder for the WordPress block editor. Build professional sites… by Benjamin Intal 100K+ ★★★★★★★★★★ 4.9 (521) 3 weeks ago 81
10 Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets Widget Options Widget Options gives you super powers to control your site’s sidebar widgets and all… by Marketing Fire 100K+ ★★★★★★★★★★ 4.9 (1.5K) 3 weeks ago 81

FAQ

Image & Video Lightbox: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Sep 30, 2026

Is Image & Video Lightbox free?

Yes. Image & Video Lightbox is free to download and use from the official WordPress.org plugin directory.

Is Image & Video Lightbox safe to use in 2026?

Image & Video Lightbox shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 3 years ago, and scores 23/100 on our health check.

How many websites use Image & Video Lightbox?

Image & Video Lightbox is active on 10+ WordPress websites and has been downloaded 2,747 times since it launched in June 2023. It was downloaded 45 times in the last 30 days.

Does Image & Video Lightbox work with WordPress 7.1?

Image & Video Lightbox is officially tested up to WordPress 6.2.13, while the latest release is 7.1.2. It may still work, but try it on a staging site first.

What PHP version does Image & Video Lightbox need?

Image & Video Lightbox requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Image & Video Lightbox last updated?

The latest version, 1.0.0, was released on June 13, 2023 (3 years ago).

Who makes Image & Video Lightbox?

Image & Video Lightbox is developed and maintained by Arya Dhiratara.

What are the best alternatives to Image & Video Lightbox?

The most popular alternatives to Image & Video Lightbox are Spectra Legacy (1M+ installs), Kadence Blocks (600K+ installs) and Extendify (500K+ 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
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.