root/app/models/gallery_media.rb

Revision 15, 265 bytes (checked in by falcon, 17 years ago)

Better W3C Compliance, misc fixes, changed media max size to 1024x800 px

Line 
1class GalleryMedia < ActiveRecord::Base
2        belongs_to :gallery
3               
4        file_column :medianame, :magick => {
5                :versions => {"thumb" => "125x125","medium" => "132x132", "maximum" => "1024x800", "artmaximum" => "1280x1024" }
6                }, :in => ["gif", "jpg", "png", "bmp"]
7               
8end
Note: See TracBrowser for help on using the browser.