Guillermo Gonzalez
2009-Apr-02 22:32 UTC
Need help with image resizing and configuration in rails
Hello, I''m trying to finish a Ruby on Rails proyect for a client and I just need someone to help me out with implementing a resizing function with RMagic. I''m offering to pay a modest price according to the time invloved in the task. It''s possible that I also need help with some configuration/performace stuff, since I''m not really an expert (I come from the php world) Page me or reply in this forum. Guillermo -- Posted via http://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Robert Walker
2009-Apr-03 01:16 UTC
Re: Need help with image resizing and configuration in rails
Guillermo Gonzalez wrote:> Hello, > > I''m trying to finish a Ruby on Rails proyect for a client and I just > need someone to help me out with implementing a resizing function with > RMagic. I''m offering to pay a modest price according to the time > invloved in the task. > > It''s possible that I also need help with some configuration/performace > stuff, since I''m not really an expert (I come from the php world) > > Page me or reply in this forum. > > GuillermoI have used attachment_fu with ImageScience for that purpose in an existing application. But, I know a lot of people like Paperclip as well. http://github.com/technoweenie/attachment_fu/tree/master http://github.com/thoughtbot/paperclip/tree/master I found attachment_fu really easy to setup once I got ImageScience installed and running. But, it equally supports RMagic as well. I just didn''t need all the extras of RMagic so I just used the smaller ImageScience. I only needed resizing. -- Posted via http://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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
On Apr 2, 12:32 pm, Guillermo Gonzalez <rails-mailing-l...@andreas-
s.net> wrote:> Hello,
>
> I''m trying to finish a Ruby on Rails proyect for a client and I
just
> need someone to help me out with implementing a resizing function with
> RMagic. I''m offering to pay a modest price according to the time
> invloved in the task.
>
> It''s possible that I also need help with some
configuration/performace
> stuff, since I''m not really an expert (I come from the php world)
>
> Page me or reply in this forum.
>
> Guillermo
> --
> 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
-~----------~----~----~----~------~----~------~--~---
manohar amrutkar
2009-Apr-03 06:10 UTC
Re: Need help with image resizing and configuration in rails
Hey Guillermo Gonzalez, Check resize functions here - http://studio.imagemagick.org/RMagick/doc/usage.html#modifying if it works then send me $$$$$ :) Regards, Manohar On Apr 3, 7:59 am, Rick <Richard.T.Ll...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 > > On Apr 2, 12:32 pm, Guillermo Gonzalez <rails-mailing-l...@andreas- > > s.net> wrote: > > Hello, > > > I''m trying to finish a Ruby on Rails proyect for a client and I just > > need someone to help me out with implementing a resizing function with > > RMagic. I''m offering to pay a modest price according to the time > > invloved in the task. > > > It''s possible that I also need help with some configuration/performace > > stuff, since I''m not really an expert (I come from the php world) > > > Page me or reply in this forum. > > > Guillermo > > -- > > 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 -~----------~----~----~----~------~----~------~--~---