Sha256: 81d3c16ac840cff818a9c0aba8a27943080ce452e97942a0ad2b6958a161863a
Contents?: true
Size: 1.04 KB
Versions: 7
Compression:
Stored size: 1.04 KB
Contents
prettyphoto ================= A gem to easily integrate [prettyPhoto](https://github.com/scaron/prettyphoto) with the rails 3.1+ asset pipeline. Currently this gem brings support for prettyPhoto **v3.1.6**. ## Installation First add the following lines to your applications `Gemfile`: ``` ruby gem 'jquery-rails' gem 'prettyphoto' ``` Run `bundle install`. Add the following lines to `app/assets/javascripts/application.js`: ``` javascript //= require jquery //= require prettyphoto-rails //= require prettyphoto-rails-dev /* use this for uncompressed javascript code */ ``` Finalize the setup by adding these lines to `app/assets/stylesheets/application.css`: ``` css /* *= require_self *= require prettyphoto-rails */ ``` ## Usage Please refer to [http://www.no-margin-for-errors.com/projects/prettyPhoto/](http://www.no-margin-for-errors.com/projects/prettyPhoto/) for all the details on how to use. ### Credits * prettyPhoto is (c) Copyright Stephane Caron * This gem is maintained by [@christian_mager](https://www.twitter.com/#!/christian_mager)
Version data entries
7 entries across 7 versions & 1 rubygems