This is a rails gem for Lightbox. Lightbox is a simple, unobtrusive script used to overlay images on top of the current page. It's a snap to setup and works on all modern browsers. The gem uses the forked version from https://github.com/OutPunk/lightbox2
Add this line to your application's Gemfile:
gem 'lightboxjs'
And then execute:
$ bundle
Include lightbox script for example, in application.js.coffee
#= require lightbox
Include lightbox styles for example, in application.css.scss
//= require lightbox
Use lightbox by it's instructions — http://lokeshdhakar.com/projects/lightbox2/