Skip to content

ai/fotoramajs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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. In development it will use local copy and in production it will use CDN.

Fotorama was 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-cdn or jquery-rails-cdn.

  4. Put include_fotorama after jQuery script tag:

    head
      = include_jquery
      = include_fotorama
  5. 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

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages