Nicolas Is it possible to configure tool to overwrite file when i upload new version of image ?
Yes. There is already a config option upload_exists specifically for this. By default, it is set to increment
, but you would set it to overwrite
.
'upload_exists' => 'overwrite', // overwrite existing file if filename exists