Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/paoloripamonti/fotorama-rails

A simple, stunning, powerful jQuery gallery.
https://github.com/paoloripamonti/fotorama-rails

Last synced: about 2 months ago
JSON representation

A simple, stunning, powerful jQuery gallery.

Awesome Lists containing this project

README

        

# Fotorama Rails

[Fotorama] is a simple, stunning, powerful JavaScript gallery.

Simple gem which helps you make the gallery [Fotorama] inside your Rails application

[Fotorama]: http://fotorama.io/

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'fotorama-rails'
```

And then execute:

$ bundle

Or install it yourself as:

$ gem install fotorama-rails

## Usage

You will need to add this line into your `application.js`:
```javascript
//= require fotorama
```

Add you will need to add this line into your `application.css`:
```css
/*
*= require fotorama
*/
```

Initialize the gallery
```javascript
$('.fotorama').fotorama({
// options
})
```

For documentation see [customize]
[customize]: http://fotorama.io/customize/

## Versioning

fotorama-rails 0.1.0 == Fotorama 4.6.4