root/app/models/gallery_media.rb @ 6

Revision 4, 235 bytes (checked in by falcon, 17 years ago)

75% complete. ajax support for engineering and galleries. galleries add/edit. artwork and engineering layouts.

Line 
1class GalleryMedia < ActiveRecord::Base
2        belongs_to :gallery
3               
4        file_column :medianame, :magick => {
5                :versions => {"thumb" => "150x150","medium" => "320x240", "maximum" => "800x800" }
6                }, :in => ["gif", "jpg", "png", "bmp"]
7               
8end
Note: See TracBrowser for help on using the browser.