Everything you need to go from zero to a working lightbox on your WordPress site.
In your WordPress admin, go to Plugins → Add New Plugin → Upload Plugin. Select nitrolitebox.zip and click Install Now, then Activate.
nitrolitebox/ folder to /wp-content/plugins/ via FTP.NitroLiteBox auto-detects any linked image on your site — the lightbox activates on every page immediately. WordPress gallery blocks, classic media links, and Oxygen Builder galleries all work without any changes.
The auto-detection looks for this pattern:
<a href="photo-full.jpg"> <img src="photo-thumb.jpg" alt="Caption text"> </a>
To group images into a swipeable gallery, give them a shared identifier. Three ways:
Option A — CSS class (simplest in page builders)
<a href="img1.jpg" class="nlb-group-myproject"><img src="t1.jpg"></a> <a href="img2.jpg" class="nlb-group-myproject"><img src="t2.jpg"></a>
Option B — data attribute (full manual control)
<a href="img1.jpg" data-nlb-group="set-a"><img src="t1.jpg"></a> <a href="img2.jpg" data-nlb-group="set-a"><img src="t2.jpg"></a>
Option C — rel attribute (WordPress galleries do this automatically)
<a href="img1.jpg" rel="gallery-1"><img src="t1.jpg"></a> <a href="img2.jpg" rel="gallery-1"><img src="t2.jpg"></a>
The zoom feature works out of the box. Remind your visitors:
Check the full docs for PHP filter options, the JavaScript API, Oxygen Builder specifics, and more.