# Problems with thumbnails, attachment\_fu

**URL:** <https://www.ruby-forum.com/t/problems-with-thumbnails-attachment-fu/180795>\
**Category:** Rails\
**Created:** [December 29, 2009, 9:58am UTC](https://www.ruby-forum.com/t/problems-with-thumbnails-attachment-fu/180795 "2009-12-29T09:58:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brianp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/94ad74/32.png) [@brianp](https://www.ruby-forum.com/u/brianp)\
**Post date:** [December 29, 2009, 9:58am UTC](https://www.ruby-forum.com/t/problems-with-thumbnails-attachment-fu/180795/1 "2009-12-29T09:58:59Z")

</div>

Hey, I’ve had this problem for about 2 months and never solved it.

Image model:  
has\_attachment :content\_type =\> :image,  
:max\_size =\> 7.megabytes,  
:resize\_to =\> ‘1000x100\>’,  
:storage =\> :file\_system,  
:thumbnails =\> {  
:tinyThumb =\> ‘144x108’,  
:mediumThumb =\> ‘200x150’  
}

This leaves me with 3 files in upload folder  
1- 144x108 - correct  
2 - 200x150 - incorrect  
It seems to completely ignore the fact i want a 1000x1000 resized  
copy. And for some reason gives me two mediumThumbs.

If i remove the resize\_to alltogether I get the same results.

I tried adding:  
:thumbnails =\> {  
:tinyThumb =\> ‘144x108’,  
:mediumThumb =\> ‘200x150’,  
:large =\> ‘1000x1000\>’  
}

This leaves me 4 files. For what reason i have no idea.  
2xtinyThumb- 144x108 - incorrect  
2xmediumThumb- 200x150 - incorrect

My experience with attachment\_fu so far has been inconsistant at best.  
I cant find any solutions for the problem anywhere.

Also I do not recall which image processor i installed 2months ago. I  
was going to start toying with attachment\_fu’s processor specific  
functions for better thumbnail quality. They look like garbage as is.  
So if anyone knows a way I can find that out that would be nice.

–

You received this message because you are subscribed to the Google  
Groups “Ruby on Rails: Talk” group.  
To post to this group, send email to removed\_email\_address@domain.invalid.  
To unsubscribe from this group, send email to  
removed\_email\_address@domain.invalid.  
For more options, visit this group at  
[http://groups.google.com/group/rubyonrails-talk?hl=en](http://groups.google.com/group/rubyonrails-talk?hl=en).
