Commit 4b3c492d by Tran Hoang Viet

VietTH: Change size image

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, 270]
end end
version :medium do version :medium do
process resize_to_fill: [71, 38] process resize_to_fill: [220, 120]
end end
version :small do version :small do
process resize_to_fill: [51, 32] process resize_to_fill: [155, 100]
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