From 1adb90def1c113ab13315daa31fcb7da1edcedea Mon Sep 17 00:00:00 2001 From: Mike Colagrosso Date: Tue, 9 Jan 2024 22:12:09 -0700 Subject: [PATCH] Correct -overwrite_original exiftool flag --- lib/Artwork.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Artwork.php b/lib/Artwork.php index f5d67690..c0a92272 100644 --- a/lib/Artwork.php +++ b/lib/Artwork.php @@ -600,7 +600,7 @@ class Artwork extends PropertiesBase{ // Save the source image and clean up metadata $imageUploadPath = $uploadedFile['tmp_name']; - exec('exiftool -quiet -overwrite-_original -all= ' . escapeshellarg($imageUploadPath)); + exec('exiftool -quiet -overwrite_original -all= ' . escapeshellarg($imageUploadPath)); copy($imageUploadPath, WEB_ROOT . $this->ImageUrl); // Generate the thumbnails