I using the upload_column plugin.
In the model i insert this:
image_column :image,:versions => { :thumb =>
''c30x30'',:medium=>''c62x62'', :large =>
''600x600'' }
when i upload an image this genera 4 images:
3 images specified in :version
1 image original
I don''t want the original image.
Is possible set it??
Thanks
--
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
-~----------~----~----~----~------~----~------~--~---
Colin Campbell-McPherson
2008-Feb-18 00:13 UTC
Re: File generated with upload_column plugin
I believe that setting an image size will set the size for the
original. Something like the code below.
image_column :image,:versions => { :thumb =>
''c30x30'',:medium=>''c62x62'', :image =>
''600x600'' }
On Dec 28 2007, 2:59 am, Luca Roma
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> I using the upload_column plugin.
> In the model i insert this:
> image_column :image,:versions => { :thumb =>
> ''c30x30'',:medium=>''c62x62'', :large
=> ''600x600'' }
>
> when i upload an image this genera 4 images:
> 3 images specified in :version
> 1 image original
>
> I don''t want the original image.
> Is possible set it??
> Thanks
> --
> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---