plegall / Piwigo-write_metadata

3 stars 4 forks source link

Feature request: Add option to overwrite original files. #7

Open vovan69 opened 8 years ago

vovan69 commented 8 years ago

By default exiftool saves backup of the original file. It would be nice to have an option to turn this off (exiftool option -overwrite_original).

erkannt commented 6 years ago

Not a php-dev, so no idea how to make this an option. I just edited the main.inc.php in the plugin folder:

main.inc.php: $command = isset($conf['exiftool_path']) ? $conf['exiftool_path'] : 'exiftool -overwrite_original';

Works fine for me.

pjgaus commented 6 years ago

I agree that this should be an option. I end up going back and deleting the original files.