# Some questions about attachment\_fu and image\_science

**URL:** <https://www.ruby-forum.com/t/some-questions-about-attachment-fu-and-image-science/129280>\
**Category:** Rails\
**Created:** [February 16, 2008, 3:04am UTC](https://www.ruby-forum.com/t/some-questions-about-attachment-fu-and-image-science/129280 "2008-02-16T03:04:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/278dde/32.png) [@peter](https://www.ruby-forum.com/u/peter)\
**Post date:** [February 16, 2008, 3:04am UTC](https://www.ruby-forum.com/t/some-questions-about-attachment-fu-and-image-science/129280/1 "2008-02-16T03:04:49Z")

</div>

It took me some hours, but i finally managed to have attachment\_fu  
running with image\_science - that’s an achievement for me 🙂 I have a  
few questions about how to use it properly:

1. 

In the attachment\_fu readme, it says  
:resize\_to # Used by RMagick to resize images.  
# Pass either an array of width/height, or a  
geometry string.

What happens here when you have image\_science instead of rmagick? can  
i give image\_science exactly the same options and the same geometry  
strings? and where can i find some more info about these geometry  
strings?

1. 

What is a proper way of implementing an image into another model? For  
example, i’d like to have something like user.avatar. should i put  
has\_one :avatar into the user-model? (and the has\_attachment and  
validates\_as\_attachment in the avatar-model?)
