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.
Luca R. (Guest)
on 2009-01-17 12: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?
Sazima (Guest)
on 2009-01-18 22: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 R. <removed_email_address@domain.invalid>
This topic is locked and can not be replied to.