On Wed, Jul 29, 2009 at 7:54 AM, Sandip Ransing <[email protected]> wrote:
>
> Hi
>
>
> here is my attached file code
>
>   #Files attached to channels
>    has_attached_file :logo,
>       :styles => { :small_thumb => [ "64x44#", :jpg ],
>       :large_thumb => [ "81x81#", :jpg ]},
>     :storage => :s3,
>     :path => ":attachment/:id/:style.:extension",
>     :s3_credentials => open( "#{RAILS_ROOT}/config/s3.yml", 'r' ),
>     :s3_permissions => 'public-read',
>     :bucket => ApplicationConfig[ 's3_buckets' ][ 'channels' ][ 'logo' ],
>     :default_url => "/images/missing/channels/logo/:style.gif"
>
>
> Thanks,
> Sandip R~
>

Sandip

Based on this code, both the :small_thumb and :large_thumb will be
cropped but nothing should be happening to the original image at all.

First check you're using the latest version of Paperclip and then file
a bug with Paperclip if it persists.

Andrew Timberlake
http://ramblingsonrails.com

http://MyMvelope.com - The SIMPLE way to manage your savings

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to