# Best Configuration for attachment fu (images)

**URL:** <https://www.ruby-forum.com/t/best-configuration-for-attachment-fu-images/154232>\
**Category:** Rails\
**Created:** [November 26, 2008, 4:55pm UTC](https://www.ruby-forum.com/t/best-configuration-for-attachment-fu-images/154232 "2008-11-26T16:55:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![elioncho](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ed8c4c/32.png) [@elioncho](https://www.ruby-forum.com/u/elioncho)\
**Post date:** [November 26, 2008, 4:55pm UTC](https://www.ruby-forum.com/t/best-configuration-for-attachment-fu-images/154232/1 "2008-11-26T16:55:46Z")

</div>

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
