photo gallery rails engine (mountable, rails 3.1)
MIT License
Imagine is a Rails engine that provides drop-in image gallery support. It is extensible, and aims to be the de facto standard for Rails image galleries. Its a Rails image gallery, that's mountable. Works on rails 3.1 at least :) Should work on 3.x
It's still in active development.
See the links on the right for more info.
Add this to the Gemfile of your Rails 3.1 project:
gem 'imagine'
Bundle that puppy up:
bundle install
Generate an initializer file with:
rails generate imagine:initializer
Edit it with a sensible editor to taste:
vi config/initializers/imagine.rb
Install the migrations if you use ActiveRecord with:
rails generate imagine:migration
And run the migrations with:
rake db:migrate
Imagine mounting Imagine, then do it!:
mount Imagine::Engine, :at => "/imagine"
Finally, visit /imagine/albums in your browser to get started.
Imagine uses Dragonfly, which assumes you have ImageMagick installed on your server.
See the documentation.
I've got this set up to use spork, so just do the following:
In one terminal, do:
bundle exec spork rspec
In another terminal, once that's done, you can:
bundle exec rake spec
RAILS_ENV=test_mongoid bundle exec rake spec
If you want to contribute, you can do so a few different ways. You could fork us on github, you could build a new album view plugin, or you could just give us some feedback or suggestions.
Please use the github issue tracker.
This project uses MIT-LICENSE.
Copyright (c) 2011 Josh Adams. See LICENSE for details.