Forum: Ruby on Rails Best Configuration for attachment fu (images)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A1247f73598357f06388e863c41aa624?d=identicon&s=25 Elias Orozco (elioncho)
on 2008-11-26 16:55
(Received via mailing list)
Hello,

Well I'll like to know which is the best configuration or the most
used (standard) when uploading images via attachment fu (or related).
In particular I'll like to know which is the best resizing option and
the best "thumbnail" size for large images. This is my current
configuration. When I resize strictly to 640x480 the image loses its
original ratio.

  has_attachment :content_type => :image,
    :storage => :file_system,
    :max_size => 4096.kilobytes,
    :resize_to => '640x480',
    :thumbnails => { :thumb => '32x32', :medium => '96x96', :large =>
'320x240'},
    :processor => :ImageScience
    .

Thanks,

ElĂ­as
This topic is locked and can not be replied to.