Skip to content

lokesh/lightbox2

Repository files navigation

Lightbox2

The original lightbox script.

Lightbox is small javascript library used to overlay images on top of the current page. It's a snap to setup and works on all modern browsers.

  • Demos and usage instructions. Visit the Lightbox homepage to see examples, info on getting started, script options, how to get help, and more.
  • Releases and Changelog. Viewable on the Github Releases page
  • Roadmap. View the Roadmap for a peek at what is being planned for future releases.
  • License. Lightbox is licensed under the MIT License. Learn more about the license.

by Lokesh Dhakar


Info for Maintainers

Local development

Some old tech, but it works, so no upgrading till something breaks.

  • Install Bower and Grunt: npm install -g bower grunt
  • Install jQuery dependency with Bower: bower install
  • Start local server: grunt
  • Navigate to localhost:8000/examples
  • Update examples/index.html to load jQuery and src/js/lightbox.js.