code.Atomic8Ball.com

Image Gallery Lightbox Usage Instructions

  1. Load CSS
    https://code.a8b.co/lightbox2/css/lightbox.min.css
  2. Load JS
    https://code.a8b.co/lightbox2/js/lightbox.min.js
  3. <a href="PATH_TO_IMAGE" data-lightbox="IMAGE_ID"><img src="PATH_TO_IMAGE_THUMB" alt="" /></a>
  4. IMAGE_ID must be unique, and can be as simple as image-1, image-2, etc.
  5. data-title="IMAGE_TITLE" is an optional element on the <a> tag

Further reading and additional options: http://lokeshdhakar.com/projects/lightbox2/