Concept_album is a project mainly written in RUBY and C, based on the MIT license.
Rails Photo Album Plugin
Concept Album is a zero administration Rails photo album plugin with an attractive minimal design.
I have a version running on my site here
The random slideshow control can be viewed on the right of my blog here
script/plugin install git://github.com/pauliephonic/concept_album.git
Rmagick can be fun to get installed, you'll need the imagemagick libraries installed on your box.
Google is your friend.
navigate to the vendor/plugins/concept_album folder and run rake to test the installation (Note my test helper is failing on rails 2.3.2 with a missing Constant I need to fix the helper to work in 2.2 on)
Add the following:
Ensure that cache path e.g. /public/concept_album is writable by the railsprocess
Retart your site
Navigate to /concept_album in your site, you should have a fully working photo album
To include your album images within other pages in your application
There are 2 methods
Use the helper
<%= random_grid_markup(number)%>
in your view. This will add random images to your page, you will need to have included the following in your layout
jquery.lightbox-0.5.css, jquery-1.3.2.js, jquery.lightbox-0.5.js
Use the slidshow javascript
This requires no additional files
I just synchronise a folder on my computer with a folder on my server using Rsync and the folders photos show up in the album automagically. The site takes care of thumbnailing and resizing itself. Don't copy 12 Megabyte images into the album folder if you are worried about performance, resizing these will take much CPU. Try using smaller version of the files. I use 1280x1024 versions of my photos
Copyright (c) 2009 Paul McConnon, released under the MIT license