Why does this RMacik Attachement_foo code not work?


#1

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

  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