diff options
author | Samuel Lidén Borell <samuel@kodafritt.se> | 2018-06-17 17:38:40 +0200 |
---|---|---|
committer | Samuel Lidén Borell <samuel@kodafritt.se> | 2018-06-17 17:38:40 +0200 |
commit | 7a3e5f2bfe217334ffd7052b49d7ff03ca520f36 (patch) | |
tree | 0e25699ba46e39b72501510368a1af01f8777b96 /public_html | |
parent | 48be8fcb354591e1730a8434fefbb46cc26c1d97 (diff) | |
download | minicms-main.tar.gz minicms-main.tar.bz2 minicms-main.zip |
Diffstat (limited to 'public_html')
-rw-r--r-- | public_html/pageeditor/index.php | 1 |
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; |