On Jul 8, 5:46 pm, Ar Chron <li...@ruby-forum.com> wrote:
> catz wrote:
> > Just try paperclip, very simple solution for it.
>
> +1 for the paperclip recommendation, but you also need some image
> processing package installed and available... ImageMagick, or something
> similar.
>
> Then it's almost as simple as:
>
> class Image < ActiveRecord::Base
>   has_attachment :content_type => ['image/jpeg', 'image/png'],
>                  :storage => :file_system,
>                  :max_size => 500.kilobytes,
>                  :resize_to => '800x600>',
>                  :thumbnails => { :thumb => '100x100>'}
> end
>
> in your model.  There are plenty of tutorials out there available via
> Googling.
> --
> Posted viahttp://www.ruby-forum.com/.



Hi Catz and Ar chron thanks for giving idea for using paperclip ..But
it's not installing from their repository sites .Can I download the
repository and copy it into my vendor/plugins dir ....? and should it
work???


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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to