NitroShock Image Lightbox Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
NitroShock Image Lightbox gives every linked image on your site an instant full-screen lightbox – no jQuery, no icon fonts, no external requests. Just one small deferred script and a little CSS, loaded only on pages that have a lightbox image.
Why NitroShock Image Lightbox?
- Zero dependencies – pure vanilla JS, nothing extra to load.
- Auto-detect – wraps any
<a href="image.jpg"><img></a>automatically, exactly as WordPress outputs them. - Oxygen Builder ready – re-scans the page when Oxygen finishes its dynamic render.
- Scrolling gallery – group images by CSS class,
rel, ordata-nlb-groupand swipe/arrow through them. - Pan & zoom – scroll-wheel, double-click, pinch-to-zoom, drag-to-pan with pointer-anchored zooming.
- Keyboard + touch – Arrow keys, Escape, and left/right swipe all work out of the box.
- Preloads adjacent images in the background so navigation feels instant.
- GPU-only animations – smooth 60 fps on mobile; respects
prefers-reduced-motion. - Accessible –
role="dialog",aria-modal, focus management, focus-visible ring. - Shortcode –
[nitrolitebox]for full control over any image.
Works with
Standard WordPress themes (Twenty Twenty-Five, Astra, GeneratePress, Kadence, Blocksy, OceanWP, etc.), Oxygen Builder, Elementor, Beaver Builder, Bricks, and any page builder that outputs standard linked images.
Shortcode example
[nitrolitebox src="https://example.com/full.jpg" thumb="https://example.com/thumb.jpg" caption="My caption" group="gallery1"]
Developer API
`js
// Open programmatically
NitroLiteBox.open(‘https://example.com/image.jpg’);
// Open a gallery
NitroLiteBox.open([
{ src: ‘https://example.com/a.jpg’, caption: ‘First’ },
{ src: ‘https://example.com/b.jpg’, caption: ‘Second’ },
]);
// Re-scan after dynamic content loads
NitroLiteBox.refresh();
// or dispatch the custom event:
document.dispatchEvent(new CustomEvent(‘nlb:refresh’));
`
Screenshots
Lightbox open on a single image with caption and close button.
Gallery browsing with image counter and arrow navigation.
Settings page under Settings → NitroShock Lightbox.

