PhotoSwipe image gallery integration with Rails asset pipeline
Installing gem
Add to your Gemfile:
gem 'pswp-rails', '~> 4.0'Add to your javascript:
#= require photoswipeAdd to your stylesheet:
- if you are using compass
@import 'photoswipe-compass';- if you are not using compass:
@import 'photoswipe';