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?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---