redimensionar a 1280x1280
This commit is contained in:
parent
a7e7ff035f
commit
f59f8cb9ec
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ class Post::ImageUploader < CarrierWave::Uploader::Base
|
|||
attr_accessor :site
|
||||
|
||||
process :strip
|
||||
process resize_to_fit: [1280,1280]
|
||||
|
||||
version :thumb do
|
||||
process :strip
|
||||
|
|
Loading…
Reference in a new issue