Commit a05be382 by Tran Hoang Viet

VietTH: Fix issue share scocial has not image because image is too small

parent a5890ab8
...@@ -37,15 +37,15 @@ class ImageUploader < CarrierWave::Uploader::Base ...@@ -37,15 +37,15 @@ class ImageUploader < CarrierWave::Uploader::Base
# Create different versions of your uploaded files: # Create different versions of your uploaded files:
version :large do version :large do
process resize_to_fill: [110, 86] process resize_to_fill: [330, 258]
end end
version :medium do version :medium do
process resize_to_fill: [71, 38] process resize_to_fill: [213, 114]
end end
version :small do version :small do
process resize_to_fill: [51, 32] process resize_to_fill: [153, 96]
end end
# Add a white list of extensions which are allowed to be uploaded. # Add a white list of extensions which are allowed to be uploaded.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment