Created
May 18, 2013 16:54
-
-
Save rterbush/5605108 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Spree::Image.class_eval do | |
# before_post_process :rename_attachment | |
attachment_definitions[:attachment][:convert_options] = { | |
'all' => "-strip -trim -gravity center -filter Catrom", | |
'mini' => "-strip -trim -gravity center -filter Catrom", | |
'small' => "-strip -trim -gravity center -filter Catrom", | |
'product' => "-strip -trim -gravity center -filter Catrom", | |
'large' => "-strip -trim -gravity center -filter Catrom" | |
} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment