views:

11

answers:

0

I have searched the forums up and down and haven't found the solution to the problem I'm facing.

I have rmagick and attachment_fu going at it on my application. I can upload files just fine, but I can't generate any thumbnail images.

When I look at the db, the width and height it shows null for the original file and thumbnail.

When I look at the file structure I can see the original file and the thumbnail with the same size.

Some code I'm using:

has_attachment :content_type => :image,

             :storage => :file_system,
             :processor => 'Rmagick',
             :resize_to => '300 x 400',
             :max_size => 2.megabytes,
             :thumbnails => { :thumb => [85, 95]}

validates_as_attachment

On development everything works perfect the problem is ONLY on production environment. I have no clue if it's a prob with the rmagick or with attachment fu or with something else. I'm not getting any errors with the upload...so I'm just lost.

related questions