diff options
author | Georg Ehrke <developer@georgehrke.com> | 2014-07-09 23:07:58 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2014-07-09 23:07:58 +0200 |
commit | 380aacdf93f7549f84a88c21531871271a15a96d (patch) | |
tree | f9fed9e7435f88f24396d8637bc973658c2dc78d /lib/private/preview | |
parent | 404ac8bcd32aca8f9b004621ac737800cd86dfd1 (diff) | |
download | nextcloud-server-380aacdf93f7549f84a88c21531871271a15a96d.tar.gz nextcloud-server-380aacdf93f7549f84a88c21531871271a15a96d.zip |
fix orientation in image-backend, not in preview system itself
Diffstat (limited to 'lib/private/preview')
-rw-r--r-- | lib/private/preview/image.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/preview/image.php b/lib/private/preview/image.php index cec5d7c0170..ec5b87befea 100644 --- a/lib/private/preview/image.php +++ b/lib/private/preview/image.php @@ -29,6 +29,7 @@ class Image extends Provider { $fileName = $fileview->getLocalFile($path); } $image->loadFromFile($fileName); + $image->fixOrientation(); return $image->valid() ? $image : false; } |