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…
Envisager une 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.
- Petite base d'utilisateurs (plus de 10 installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour dans 3 ans
- Uniquement testé jusqu'à WordPress 6,2 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Image & Video Lightbox stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| blocs | >100 |
| galerie | >100 |
| image | >100 |
| lightbox | >100 |
| vidéo | >100 |
Adoption de version
Part de sites actifs par version.
About Image & Video Lightbox
À partir du Lisez-moi officiel · v1.0.0Description
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 haveno-lazyorskip-lazyclass.
-
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
- Visit
Plugins > Add New - Search for
Image & Video LightboxorArya Dhiratara - Activate the plugin from your Plugins page
Manually
- Download the plugin using the download link in this WordPress plugins repository
- Upload the plugin folder to your
/wp-content/plugins/directory - Activate the plugin from your Plugins page
Journal de modifications
1.0.0
- Communiqué initial
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Image & Video Lightbox alternatives
Plugins Tous les blocs →FAQ
Image & Video Lightbox: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
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,880 times since it launched in June 2023. It was downloaded 70 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.16, while the latest release is 7.1.5. 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).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit



