# Attachment\_fu stores the wrong size

**URL:** <https://www.ruby-forum.com/t/attachment-fu-stores-the-wrong-size/147945>\
**Category:** Rails\
**Created:** [September 7, 2008, 12:35pm UTC](https://www.ruby-forum.com/t/attachment-fu-stores-the-wrong-size/147945 "2008-09-07T12:35:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tranquiliste](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ed655f/32.png) [@tranquiliste](https://www.ruby-forum.com/u/tranquiliste)\
**Post date:** [September 7, 2008, 12:35pm UTC](https://www.ruby-forum.com/t/attachment-fu-stores-the-wrong-size/147945/1 "2008-09-07T12:35:53Z")

</div>

hello,

I am testing attachment\_fu to load and store images.  
I am resizing them and generating a thumbnail but apparently it saves  
the wrong size in the DB :

- the image has the original size
- the thumbnail has the size of the resized size

I am using Rmagick 2.5.2, Rails 2.0.2 on a Mac with X.5

Thanks for your help  
Nicolas
