WordPress plugin intelligence profile

EC Lightbox

EC Lightbox is a minimal WordPress plugin that adds a modern lightbox to galleries using GLightbox.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.9
Current version1.1.0
WordPress coverageTested up to WordPress 6.9
Minimum stackWP 6.7 · PHP 7.4
Directory statusactive
Last directory update20 Jan 20269mo ago
Active installations20Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records EC Lightbox version 1.1.0 as active, updated 9mo ago and tested up to WordPress 6.9.

Overview

About this plugin

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-lightbox is 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.
  • 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)

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • galleries
  • lightbox
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.9
Minimum requirementsWordPress 6.7 · PHP 7.4
Update activity20 Jan 20269mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.