summaryrefslogtreecommitdiff
path: root/public_html
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@kodafritt.se>2018-06-17 17:38:40 +0200
committerSamuel Lidén Borell <samuel@kodafritt.se>2018-06-17 17:38:40 +0200
commit7a3e5f2bfe217334ffd7052b49d7ff03ca520f36 (patch)
tree0e25699ba46e39b72501510368a1af01f8777b96 /public_html
parent48be8fcb354591e1730a8434fefbb46cc26c1d97 (diff)
downloadminicms-main.tar.gz
minicms-main.tar.bz2
minicms-main.zip
Add TODO regarding images with EXIF rotationHEADmain
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;