Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Rmagick is now the default image processor due to ImageScience/FreeIm…

…age bugs on .png files
  • Loading branch information...
commit 94b46576c1eea0e526995f86fe2ddee5bc4151ba 1 parent 0b0ae79
Jean-Baptiste Barth authored February 02, 2009

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  app/models/image.rb
3  app/models/image.rb
@@ -5,7 +5,8 @@ class Image < ActiveRecord::Base
5 5
                   :max_size => 5.megabytes,
6 6
                   :resize_to => '740x400>',
7 7
                   :thumbnails => { :thumb => '100x100>' },
8  
-                  :path_prefix => 'public/assets'
  8
+                  :path_prefix => 'public/assets',
  9
+                  :processor => 'Rmagick'
9 10
 
10 11
   validates_as_attachment
11 12
 

0 notes on commit 94b4657

Please sign in to comment.
Something went wrong with that request. Please try again.