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 photoswipeAnd to app/assets/stylesheets/application.scss:
/*
*= require photoswipe
*/See PhotoSwipe set-up guide for further instructions.