summaryrefslogtreecommitdiffstats
path: root/lib/private/preview
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/preview')
-rw-r--r--lib/private/preview/image.php1
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;
}