ComfyGallery is an image gallery engine for Rails 3.1 apps. Also it integrates with ComfortableMexicanSofa CMS Engine
Add gem definition to your Gemfile:
gem 'comfy_gallery'
Then from the Rails project's root run:
bundle install
rails generate comfy:gallery
rake db:migrate
You can immediately access admin area by going to /admin/galleries.
If you are using ComfyGallery on it's own take a look in the initializer: /config/initializers/comfy_gallery.rb You probably want to set the admin controller to be something that handles user authentication within your app. Same goes for the admin_route_prefix.
If you are using ComfyGallery in conjunction with ComfortableMexicanSofa everything will be configured automatically.
There's no front-end to this engine. Feel free to access galleries like such: Gallery::Gallery.find_by_identifier('my_gallery)
and cycle through the photos
.
Also you may use provided ColorBox javascript to display galleries. Just declare these for asset pipeline
// in app/assets/javascripts/application.js
//= require comfy_gallery/jquery.colorbox
// in app/assets/stylesheets/application.css
//= require comfy_gallery/colorbox
CMS Gallery is released under the MIT license
Copyright 2011 The Working Group