Features of the lightbox:
- Automatically redo links to images to work with JBLightbox
- Auto resize images to fit in window/screen
- If native image size is larger than the lightbox display an option to view the original size is provided
- Works with keyboard (Esc closes, left and right arrow keys scroll through images)
- Uses Image Alt or A Title attributes in the lightbox preview
- Cross browser/os (inc IOS/Android) compatibility
- Just add one line of code to your page and let JBLightbox do the rest.
20130410 - Fixes to allow compatibility with IE 8 and below.
Code is running on the page, it does not style the gallery, this is done outside of the script.
Select any image/link below to see it in action.
Text link to a Sunrise Photo
To use simply grab the JBLightbox Code (ie download it) and insert at the bottom of your page e.g