image resize ..using attachment_fu

i ve tried this link http://clarkware.com/cgi/blosxom/2007/02/24… for image resize ...everything works fine ..but image size remains same for tiny ,small,medium ...i cant change the size .. my model is...

has_attachment :content_type => :image,     :storage => :file_system,     :min_size => 0,     :max_size => 1.megabytes,     :resize_to => '640X480',     :thumbnails => { :medium => '200X200', :small => '80X80', :tiny => '40X40' } but image size is stored in database as for eg:                small :23458                tiny : 23458                medium:23458

pls help..

Do you have image_science and or Rmagik installed? they are responsible for the image processing (resizing...) also, in windows it will be much more dificult to make it work.

also try removing the min_size (since it is not used) and putting the thumbnail sizes in arrays instead of strings

has_attachment :content_type => :image,     :storage => :file_system,     :max_size => 1.megabytes,     :resize_to => '640X480',     :thumbnails => { :medium =>[200, 200], :small => [80, 80], :tiny => [40, 40] }

j

great...it works...thanks a lot friend.....