Download Back To CSSScript.Com
Lightbox3 Image Gallery Lightbox Library Demos
Create image gallery lightboxes with Lightbox3, a dependency-free JavaScript library with touch gestures and zoom support.
Open one image, then move through the set.
Use the side controls, arrow keys, wheel gestures, or horizontal swipes. Click or tap the opened image to zoom, then drag to pan.
Different thumbnail shapes still open cleanly.
These items share one gallery name, so captions, counters, adjacent-slide preloading, and edge bounce are active.
Open from a thumbnail, a text link, or a button.
The thumbnail uses the FLIP morph. The text link and button use the lightbox fade path because no thumbnail image anchors the motion.
Text and API triggers
Use the link for a text-triggered open. Use the button for a direct call to the lightbox instance.
Change spring presets and watch callbacks fire.
Preset buttons recreate the instance with different spring values. The event feed records open, close, navigation, and zoom callbacks.
Spring preset
Choose a preset, then open any image again.
Event feed
Interact with the demo, then check the latest callback entries.
No events yet. Open an image to start the feed.