WordPress plugin intelligence profile

Five Number Lightbox

A small image lightbox with no jQuery and no dependencies. Works on old posts and new ones without editing any content.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version1.3.1
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 6.2 · PHP 7.4
Directory statusactive
Last directory update23 Jul 20263mo ago
Active installationsNewAdoption 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 Five Number Lightbox version 1.3.1 as active, updated 3mo ago and tested up to WordPress 7.0.

Overview

About this plugin

Click an image in a post and it opens in an overlay instead of loading the raw file in a new page.

The plugin is about 12KB in total and loads no libraries. No jQuery, no framework, no external requests, no tracking, no settings page to configure before it does anything. On a page with no eligible images, neither the CSS nor the JavaScript is loaded at all.

Step-by-step instructions, including how to move over from an older lightbox plugin: Five Number Lightbox – setup and usage

It works without editing your posts

Most lightbox plugins need your images marked up a particular way. This one handles what is already there:

  • Images inserted with no link at all, which is what the block editor produces by default. The full-size file is found automatically.
  • Images linked to their media file.
  • Images already carrying the classic rel="lightbox[group]" markup that several older lightbox plugins wrote into post content. These are left exactly as they are, so a site with years of old posts keeps the grouping it was published with.

Images in the same post form a set, so you can page through them with the arrow keys or the on-screen arrows.

It does not rewrite your HTML

Attributes are added to tags that already exist. Nothing is wrapped, moved or re-nested, so the page structure stays exactly as you wrote it. Images inside <picture> elements keep working, links you added yourself are never hijacked, and an image inside a link keeps going where you pointed it.

Parsing is done with WordPress’s own HTML API rather than regular expressions, so quoting and unusual attribute values are handled correctly.

It tries not to get in the way

  • Images already displayed at full size are skipped. There is nothing to enlarge, so an overlay would just be an extra click.
  • Images smaller than 400px wide are skipped, since those are usually icons or logos.
  • If the full-size file is missing, the overlay closes and the browser follows the link normally rather than trapping the reader behind a dark screen.
  • Ctrl-click, Cmd-click and middle-click still open the image in a new tab.

Keyboard and accessibility

  • Esc closes, left and right arrows move between images.
  • Focus moves into the overlay when it opens, stays inside it while open, and returns to the image you clicked when it closes.
  • The dialog is exposed with role="dialog" and aria-modal, and the image counter is announced.
  • prefers-reduced-motion is respected.

Mobile

Swipe left and right to move between images. Vertical drags are ignored so scrolling does not page the set. Your place on the page is kept when the overlay closes.

Neighbouring images are not preloaded when the browser reports that the reader has asked to save data.

WordPress.org metadata

Plugin tags

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

  • image viewer
  • gallery
  • images
  • lightbox
  • popup
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

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

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 6.2 · PHP 7.4
Update activity23 Jul 20263mo 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.