Hi Q: How can I get height/width of original image (not tumbnail)? I'm using attachment_fu plugin. (thanks to the author!) model has following options has_attachment :content_type => :image, :storage => :file_system, :max_size => 5000.kilobytes as it tells, I don't use thumbnail feature. I uploaded image files, file were uploaded well, but width/height fields of model are nil. (NULL in database). for testing, when I add thumbnail feature to model, width/height column of thumbnail image record have proper values (width/height of thumbnailed image). Is there option of attachment_fu for setting original image's(not thumbnail) width/height field properly? (the fields are set properly for thumbnail images) or should I hack attachment_fu to do that?
on 2007-03-24 17:46