Does anyone know how to resize images according to a specific width using attachment_fu? More specifically, I am trying to resize images so that they retain their ratio but all have the same width. Thanks. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
:thumbnails => { :large => ''350x350>''} is the syntax I used and they retained their ratios. On Jul 7, 11:46 am, Dave Lynam <dly...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Does anyone know how to resize images according to a specific width > using attachment_fu? More specifically, I am trying to resize images > so that they retain their ratio but all have the same width. Thanks.--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
right, but i think this makes the images within the 350x350 range with retained aspect ratio, but i want to make every image have the same width and then make the height according to the ratio. does this make any sense? On Jul 6, 10:34 pm, cherring <chris.herring.iph...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> :thumbnails => { :large => ''350x350>''} is the syntax I used and they > retained their ratios. > > On Jul 7, 11:46 am, Dave Lynam <dly...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Does anyone know how to resize images according to a specific width > > using attachment_fu? More specifically, I am trying to resize images > > so that they retain their ratio but all have the same width. Thanks.--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---