From 82148a168f6dfe051c22faeeb56ad2e49a71d59a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Thu, 17 May 2018 14:55:58 +0200 Subject: [PATCH] FIX: automatically fix image orientation --- lib/upload_creator.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/upload_creator.rb b/lib/upload_creator.rb index cdb7e8bcf1..1478477fda 100644 --- a/lib/upload_creator.rb +++ b/lib/upload_creator.rb @@ -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?