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
On Jul 10, 5:44 am, Jai zenag
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> i ve tried this linkhttp://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..
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---