Skip to content

Instantly share code, notes, and snippets.

@rterbush
Created May 18, 2013 16:54
Show Gist options
  • Save rterbush/5605108 to your computer and use it in GitHub Desktop.
Save rterbush/5605108 to your computer and use it in GitHub Desktop.
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