diff --git a/index.php b/index.php index 8d422b7..18b4bbe 100644 --- a/index.php +++ b/index.php @@ -111,7 +111,7 @@ if($img['type'] != 'image/bmp') { // Strip EXIF data - exec("exiftool -overwrite_original -all:all= '$target'", $output, $ret); + exec("exiftool -overwrite_original -all:all= -tagsfromfile @ -exif:Orientation '$target'", $output, $ret); if($ret != 0) return 'Unable to upload image, please contact the webmaster.'; }