FIX: automatically fix image orientation
This commit is contained in:
parent
fc0e50b34c
commit
82148a168f
|
@ -43,6 +43,7 @@ class UploadCreator
|
|||
elsif !Rails.env.test?
|
||||
convert_to_jpeg! if should_convert_to_jpeg?
|
||||
downsize! if should_downsize?
|
||||
fix_orientation! if should_fix_orientation?
|
||||
|
||||
return @upload if is_still_too_big?
|
||||
|
||||
|
|
Loading…
Reference in New Issue