EC Lightbox
EC Lightbox is a minimal WordPress plugin that adds a modern lightbox to galleries using GLightbox.
Consider an alternative
EC Lightbox shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites and was last updated 10 months ago, and scores 39/100 on our health check.
- Small user base (20+ 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 EC Lightbox stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| galleries | >100 |
| lightbox | >100 |
Version adoption
Share of active sites per release.
About EC Lightbox
From the official readme · v1.1.0Description
EC Lightbox is a minimal WordPress plugin that adds a modern lightbox to galleries using GLightbox.
The plugin is opt-in by behavior: once activated, it only applies its lightbox functionality to blocks where you explicitly add a custom CSS class (for example, a Gallery block). Everywhere else, WordPress behaves normally.
Features
- Uses GLightbox for a clean, responsive lightbox.
- Works with WordPress core blocks (e.g. Gallery, Image).
- Opt-in activation via a custom CSS class (
ec-lightbox). - Groups images by gallery container (each block with
ec-lightboxis its own gallery). - Includes a Settings page in WordPress Admin.
- Configurable behavior: loop, touch navigation, zoom.
- Local vendor assets by default (no hard dependency on external CDNs).
Requirements
- WordPress 5.0+
- PHP 7.0+
- A block-based setup (Gutenberg) is recommended.
How to enable EC Lightbox on a Gallery block
- Insert a Gallery block.
- Select the Gallery block itself (not a single image inside it).
- In the block sidebar, configure:
- Link to →
None - Disable “Open in lightbox” / “Enlarge on click” if present.
- Link to →
- Open the Advanced panel.
-
Add the following class:
ec-lightbox -
Update or publish the post.
When users click an image inside that gallery, EC Lightbox will open and allow navigation through the gallery.
Note:
Make sure individual images inside the gallery do not have click settings assigned.
If these WP-native actions remain enabled, WordPress will attach its own click/lightbox behavior, overriding this plugin.
⚙️ Settings Page (WordPress Admin)
A configuration screen is available at:
Settings → EC Lightbox
Available options:
- Loop images
- Enable touch navigation
- Enable zoom
- Autoplay videos (for future video support)
All settings are passed directly to the lightbox JavaScript on initialization.
🧩 Filters & Developer API
1. Modify GLightbox options programmatically
`php
add_filter( ‘ec_lightbox_js_options’, function ( $options ) {
$options[‘loop’] = true;
$options[‘zoomable’] = false;
$options[‘openEffect’] = ‘zoom’; // Any GLightbox option is accepted
return $options;
});
`
Options merged from:
1. Plugin defaults
2. Admin settings
3. This filter (highest priority)
Installation
-
Install EC Lightbox via the WordPress.org plugin repository or by uploading the files to your server.
-
Activate EC Lightbox from Plugins → Installed Plugins.
-
(Optional) Review default options in Settings → EC Lightbox.
The plugin ships with local GLightbox assets already included — no external downloads are required.
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 EC Lightbox alternatives
All galleries plugins →FAQ
EC Lightbox: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is EC Lightbox free?
Yes. EC Lightbox is free to download and use from the official WordPress.org plugin directory.
Is EC Lightbox safe to use in 2026?
EC Lightbox shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites and was last updated 10 months ago, and scores 39/100 on our health check.
How many websites use EC Lightbox?
EC Lightbox is active on 20+ WordPress websites and has been downloaded 501 times since it launched in January 2026. It was downloaded 68 times in the last 30 days.
Does EC Lightbox work with WordPress 7.1?
EC Lightbox is officially tested up to WordPress 6.9.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does EC Lightbox need?
EC Lightbox requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was EC Lightbox last updated?
The latest version, 1.1.0, was released on January 20, 2026 (10 months ago).
Who makes EC Lightbox?
EC Lightbox is developed and maintained by daniloercoli.
What are the best alternatives to EC Lightbox?
The most popular alternatives to EC Lightbox are Responsive Lightbox & Galle… (100K+ installs), Featured Galleries (3K+ installs) and Photo Galleria (700+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
