# Why does this RMacik Attachement\_foo code not work?

**URL:** <https://www.ruby-forum.com/t/why-does-this-rmacik-attachement-foo-code-not-work/109277>\
**Category:** Rails\
**Created:** [July 13, 2007, 12:22am UTC](https://www.ruby-forum.com/t/why-does-this-rmacik-attachement-foo-code-not-work/109277 "2007-07-13T00:22:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![emuen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/96bed5/32.png) [@emuen](https://www.ruby-forum.com/u/emuen)\
**Post date:** [July 13, 2007, 12:22am UTC](https://www.ruby-forum.com/t/why-does-this-rmacik-attachement-foo-code-not-work/109277/1 "2007-07-13T00:22:29Z")

</div>

Hi why des this not work?  
It should work, but the thumbnails does not get saved.

```auto
  has_attachment :storage => :file_system,
                  :max_size => 500.megabytes,
                  :resize_to => "300>",
                  :thumbnails => { :thumb => "200>", :icon => "100>",
:tiny => "50>" },
                  :processor => :Rmagick, # attachment_fu looks in this
order: ImageScience, Rmagick, MiniMagick
                  :path_prefix => "/public/uploads/"
```

- Emil
