mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
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…
x
Reference in New Issue
Block a user