kadru / photoswipe-rails

A gem to add PhotoSwipe to Rails asset pipeline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

photoswipe-rails Gem Version

PhotoSwipe for the Rails asset pipeline.

Installation

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.

About

A gem to add PhotoSwipe to Rails asset pipeline

License:MIT License


Languages

Language:JavaScript 85.8%Language:CSS 11.8%Language:Ruby 2.3%