Call with ?imageLightboxIndex=2 added to the url to open the third image
(may need to add &imageLightboxSet=j as well because there are multiple examples)
Add data-ilb2-id="img2" and call with ?imageLightboxIndex=img2 added to the url to open that image
(may need to add &imageLightboxSet=k as well because there are multiple examples)
Press enter for fullscreen
Filter images by extension
Allow gif only
Events
$('a[data-imagelightbox="events"]').imageLightbox();
$(document)
.on("start.ilb2", function () { console.log("start.ilb2"); })
.on("loaded.ilb2", function () { console.log("loaded.ilb2"); })
.on("next.ilb2", function () { console.log("next.ilb2"); })
.on("previous.ilb2", function () { console.log("previous.ilb2"); })
.on("quit.ilb2", function () { console.log("quit-ilb2"); });