search for: thumbdirectory

Displaying 1 result from an estimated 1 matches for "thumbdirectory".

2006 Apr 24
0
ImageMagick and EXIF Data
...ot;)[0][1] self.save end --------------------------------------------- Here''s my whole image model ( it''s a rough model, but it works for now): require ''RMagick'' class Image < ActiveRecord::Base DIRECTORY = ''public/uploaded_images'' THUMBDIRECTORY = ''public/thumbs'' DISPLAY_DIRECTORY = ''/public/uploaded_images/'' DISPLAYTHUMBS_DIRECTORY = ''/public/thumbs/'' after_save :process after_destroy :cleanup def file_data=(file_data) @file_data = file_data write_attribute ''exten...