|
|
@ -111,7 +111,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
if($img['type'] != 'image/bmp') {
|
|
|
|
if($img['type'] != 'image/bmp') {
|
|
|
|
// Strip EXIF data
|
|
|
|
// 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)
|
|
|
|
if($ret != 0)
|
|
|
|
return 'Unable to upload image, please contact the webmaster.';
|
|
|
|
return 'Unable to upload image, please contact the webmaster.';
|
|
|
|
}
|
|
|
|
}
|
|
|
|