Need help with image resizing and configuration in rails

Something like this?

class Photo < ActiveRecord::Base
  has_attachment :storage => :file_system,
    :resize_to => '640>',
    :thumbnails => { :thumb => '160>', :tiny => '50>' },
    :max_size => 5.megabytes,
    :content_type => :image,
    :processor => 'Rmagick'
  validates_as_attachment
  belongs_to :user
end

Hey Guillermo Gonzalez,

Check resize functions here -
http://studio.imagemagick.org/RMagick/doc/usage.html#modifying

if it works then send me $$$$$ :slight_smile:

Regards,
Manohar