Skip to content

rubycon-by/fotoramajs

 
 

Repository files navigation

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.

Fotorama is created and maintained by Artem Polikarpov.

Install

  1. Add fotoramajs gem to Gemfile:

    gem 'fotoramajs'
  2. Install gems:

    bundle install
  3. Include jQuery in your project. I recommend jquery-rails-cdn.

  4. Include Fotorama script, for example, in application.js.coffee:

    #= require fotorama
  5. Include Fotorama styles, for example, in application.css.sass:

    @import 'fotorama'
  6. Use Fotorama by documentation.

Development

To update original library, you can use rake update task.

About

Fotorama for Ruby on Rails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published