|
|
@ -1047,7 +1047,7 @@ if (isset($_POST['delete'])) { |
|
|
|
$thumb->_destroy(); |
|
|
|
} |
|
|
|
|
|
|
|
if ($config['redraw_image'] || (!@$file['exif_stripped'] && $config['strip_exif'] && ($file['extension'] == 'jpg' || $file['extension'] == 'jpeg'))) { |
|
|
|
if ($config['redraw_image'] || (!array_key_exists('exif_stripped', $file) && $config['strip_exif'] && ($file['extension'] == 'jpg' || $file['extension'] == 'jpeg'))) { |
|
|
|
if (!$config['redraw_image'] && $config['use_exiftool']) { |
|
|
|
if($error = shell_exec_error('exiftool -overwrite_original -ignoreMinorErrors -q -q -all= ' . escapeshellarg($file['tmp_name']))) { |
|
|
|
error(_('Could not strip EXIF metadata!'), null, $error); |
|
|
|