forked from bofh/fetsite
FIX: thumbnail size reduced by stripping all EXIF information
This commit is contained in:
@@ -30,16 +30,19 @@ class FotoUploader < CarrierWave::Uploader::Base
|
||||
# def scale(width, height)
|
||||
# # do something
|
||||
# end
|
||||
process :strip
|
||||
|
||||
# Create different versions of your uploaded files:
|
||||
version :thumb do
|
||||
process :resize_to_fill => [64, 64]
|
||||
process :quality => 30
|
||||
process :quality => 70
|
||||
end
|
||||
|
||||
version :big_thumb do
|
||||
process :resize_to_fill => [128, 128]
|
||||
process :quality => 30
|
||||
process :quality => 70
|
||||
end
|
||||
|
||||
version :resized do
|
||||
process :resize_to_fit => [1024, 1024]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user