Fotorama for Ruby on Rails

Fotorama is a simple, stunning, powerful JavaScript gallery.

This is packager, that allows you to simply install and maintain Fotorama by RubyGem in Rails Assets Pipeline.

Note, that Fotorama is a commercial product ($33 per domain name) and is not an open-source software project. Non‑commercial and personal use of Fotorama is typically free, but is always approved by Fotorama’s author.

Fotorama is created and maintained by Artem Polikarpov.

Install

  1. Add fotoramajs gem to Gemfile:
   gem 'fotoramajs'
  1. Install gems:
   bundle install
  1. Include jQuery in your project. I recommend jquery-rails-cdn.
  2. Include Fotorama script, for example, in application.js.coffee:
   #= require fotorama
  1. Include Fotorama styles, for example, in application.css.sass:
   @import 'fotorama'
  1. Use Fotorama by documentation.