removed ccircular image processor to test
This commit is contained in:
parent
aa5e3d522b
commit
eceb1174c3
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@ has_many :mappings
|
||||||
:thumb => ['100x100>', :png],
|
:thumb => ['100x100>', :png],
|
||||||
:square => ['200x200#', :png],
|
:square => ['200x200#', :png],
|
||||||
:round => ['200x200#', :png]
|
:round => ['200x200#', :png]
|
||||||
}, :convert_options => {:round => Proc.new{self.convert_options}}
|
}
|
||||||
|
|
||||||
|
#, :convert_options => {:round => Proc.new{self.convert_options}}
|
||||||
|
|
||||||
# Validate the attached image is image/jpg, image/png, etc
|
# Validate the attached image is image/jpg, image/png, etc
|
||||||
validates_attachment_content_type :image, :content_type => /\Aimage\/.*\Z/
|
validates_attachment_content_type :image, :content_type => /\Aimage\/.*\Z/
|
||||||
|
|
Loading…
Reference in a new issue