Sha256: ae9e67330b34a623fe2ab279cb72edfabb09632d5bf65f31b6aacc90777dd254
Contents?: true
Size: 1.19 KB
Versions: 2
Compression:
Stored size: 1.19 KB
Contents
# 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]. [Fotorama]: http://fotoramajs.com/ [commercial]: http://fotoramajs.com/license/ [Artem Polikarpov]: http://artpolikarpov.ru/ ## Install 1. Add `fotoramajs` gem to `Gemfile`: ```ruby gem 'fotoramajs' ``` 2. Install gems: ```sh bundle install ``` 3. Include jQuery in your project. I recommend [jquery-rails-cdn]. 4. Include Fotorama script, for example, in `application.js.coffee`: ```coffee #= require fotorama ``` 5. Include Fotorama styles, for example, in `application.css.sass`: ```coffee @import 'fotorama' ``` 6. Use Fotorama by [documentation]. [jquery-rails-cdn]: https://github.com/kenn/jquery-rails-cdn [documentation]: http://fotoramajs.com/set-up/
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fotoramajs-3.0.8 | README.md |
fotoramajs-3.0.7 | README.md |