Forum: Ruby on Rails convert images with attachment_fu

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
39a8b48aca70346605c630851d1aee3a?d=identicon&s=25 Luca Roma (romaluca)
on 2009-01-17 11:17
Hi, i'm using attachment fu plugin and mini magick for upload images.

class Photo < ActiveRecord::Base
  has_attachment  :content_type => :image,
                  :storage => :file_system,
                  :max_size => 4.megabytes,
                  :resize_to => '700x650>',
                  :path_prefix => 'public/images/cores',
                  :thumbnails => { :thumb_big => '62x62!', :thumb =>
'30x30!' },
                                    :processor => :MiniMagick

I noted that when a user upload a jpg, the thumnails are very expensive
(32k for :thumb). so i want convert all thumbnails to gif or png format.

is possible?
Fac81a9d95c81d817a2debb6f717f3ac?d=identicon&s=25 Sazima (Guest)
on 2009-01-18 21:56
(Received via mailing list)

It's probably possible to do it with one of the various image
libraries available, but never seen that as a feature of

Cheers, Sazima

On Jan 17, 8:17 am, Luca Roma <>
This topic is locked and can not be replied to.