summaryrefslogtreecommitdiff
path: root/public_html
diff options
context:
space:
mode:
Diffstat (limited to 'public_html')
-rw-r--r--public_html/pageeditor/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/public_html/pageeditor/index.php b/public_html/pageeditor/index.php
index 617cfca..907d6c3 100644
--- a/public_html/pageeditor/index.php
+++ b/public_html/pageeditor/index.php
@@ -689,6 +689,7 @@ function create_lowres_picture($cleanedname) {
return false;
}
// Check if it needs to be scaled down
+ // TODO check for images with EXIF rotation also. These need to be rotated
$size = getimagesize($origname);
if (!$size || ($size[0] < $image_width && $size[1] < $image_height)) {
return false;