A gem to add PhotoSwipe to Rails asset pipeline
Switch branches/tags
Clone or download
Latest commit 3168fa9 Apr 11, 2017


photoswipe-rails Gem Version

PhotoSwipe for the Rails asset pipeline.


Add photoswipe-rails to the assets group in your Gemfile:

gem 'photoswipe-rails'

Add the necessary library to app/assets/javascripts/application.js:

//= require photoswipe

And to app/assets/stylesheets/application.scss:

 *= require photoswipe

Further set-up

See PhotoSwipe set-up guide for further instructions.