I am having problems with paperclip. When I have a "#" after the size (for scaling and cropping), I get error 422. My log says this:
Command :: convert '/tmp/**** (20130110)20130311-13571-xxasmt.png[0]' -auto-orient -resize "150x150#" '/tmp/**** (20130110)20130311-13571-xxasmt20130311-13571-1anrx0y'
[paperclip] An error was received while processing:
Completed 422 Unprocessable Entity in 2785ms (Views: 0.8ms | ActiveRecord: 9.1ms)
This is my clip code in the model:
has_attached_file :image,
:styles => {
:medium => "300x300#",
:thumb => "100x100>",
:standard => "150x150>"
},
:storage => :s3,
:s3_credentials => "#{Rails.root}/config/s3.yml",
:bucket => "convertkit",
:s3_protocol => "https"
Did I miss something?
source
share