About RMagic


#1

hi

i am using attachment_fu with
Rmagic(RMagick-2.7.1-ImageMagick-6.4.5-3-Q8)
i am thumbnailing image.code is as follows it is thumbniling onlt .gif
image not other .Is there any problem with RMagic version.

what else i can do code is as bellow

1>code of model(asset)
class Asset < ActiveRecord::Base
has_attachment :storage => :file_system,
:max_size => 5.megabytes,
:processor => :Rmagick,
:thumbnails => { :small => ‘60x60>’ }
end

1>no valodations. this is resizing only gif image.
2>also for other type of images(such as .png,.jpg) it is not storing
size of image in database.
3> creating imagename_small copy of image in pubilc/asset folder but not
thumbnailing it.

database table

  string :filename
  string :content_type
  integer :size (not storing for other images then gif)
  integer :width
  integer :height
  string :thumbnail