Forum: Ruby on Rails resize photo attachment_fu

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
anton effendi (Guest)
on 2008-12-25 03:46
(Received via mailing list)
Any body can help me????

How to resize photo in attachment_fu plugin.. but size of photo has

the logic is

 *  If the image is wider than tall:

  thumbnail: width = 110px height = proportional

 standard: width = 520px height = proportional

 original: store original

 * If the image is taller than wide:

 thumbnail: width = proportional height = 110px

 standard: width = proportional height = 520px

 original: store original

so... when upload, attachment_fu will make 3 photo.. thumbnail,

Please help me. Thank you.

Wu You Duan
This topic is locked and can not be replied to.