A gem to easily integrate prettyPhoto with the rails 3.1+ asset pipeline.
Currently this gem brings support for prettyPhoto v3.1.5.
First add the following lines to your applications
gem 'jquery-rails' gem 'prettyphoto-rails'
Add the following lines to
Finalize the setup by adding these lines to
/* *= require_self *= require prettyphoto-rails */
Please refer to http://www.no-margin-for-errors.com/projects/prettyPhoto/ for all the details on how to use.
- prettyPhoto is (c) Copyright Stephane Caron
- This gem is maintained by @christian_mager