Gallery is an application that enables you to host multiple web galleries under different domains on a single server. After initial setup it syncs albums and photos with Flickr accounts of configured users.
After installing you need to:
- setup database credentials in config/database.yml.
create users in the database.
Just go to the Rails console and do:
User.create! :host => 'www.yourhost.com', :flickr_id => '12345678@Z90', :name => 'Your Name', :locale => 'en'
Do this for all users.
sync photos and photosets with Flickr.
You can even setup a cron job to call the rake task once an hour so that you don't have to do it manually everytime you upload a photo to your Flickr account.
How it works
The flickr:sync rake task downloads all photos from user's Flickr account and stores them in a local directory. Titles and descriptions are updated for existing photos and sets.
- functional tests
- Flickr integration tests
- AJAX (paging inside a photoset)
- eye-candy (transitions, shadows, sifr, ...)