Resize photo attachment_fu

Any body can help me???

How to resize photo in attachment_fu plugin… but size of photo has
logic…

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,
standard,
original…

Please help me. Thank you.


Wu You Duan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs