mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 08:11:41 +00:00
no perder el tamaño de imagen
This commit is contained in:
parent
78533e4982
commit
9d882aa8fa
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ class Post::ImageUploader < CarrierWave::Uploader::Base
|
||||||
|
|
||||||
version :thumb do
|
version :thumb do
|
||||||
process :strip
|
process :strip
|
||||||
process resize_to_fill: [200,200]
|
process resize_to_fit: [200,200]
|
||||||
end
|
end
|
||||||
|
|
||||||
def strip
|
def strip
|
||||||
|
|
Loading…
Reference in a new issue