Lightbox demo
   

 

This is a set of pictures I shot at the inaugural of President Obama. We left before dawn, it was about 15 degrees, but of course something we wouldn't have missed. The intrepid trio was my wife, Kathy, our friend Dave and me.

Dave and Kathy Heading in Approaching Washington Memorial Memorial & dove (or seagull) Where we stopped Optical illusion? Sign makers Dave texting (note Canadian/US flags) Jumbotron moment Tree huggers after the ceremony On the way back Frozen travelers

This script is from Dynamic Drive, Lightbox JS v2.1. It has responsive images on small devices (not on screen resize). Or go to the creator, Lokesh Dhakar.

Important Note—you will also need jQuery, and you need to load that library (version 1.7 or higher, so use the 2.x snippet from Google API) before his scripts, in particular lightbox.js. See the code for this demo page.

To use, click on any photo to get started. Then mouse over the photo on the right to see the Next button, and on the left for the Previous (you might need to tell users that).

The 2.x versions of Lightbox allow for grouped photos that give you the Next and Previous buttons when moused over.

Back to home page