processwire / processwire-requests

ProcessWire feature requests.
40 stars 0 forks source link

Delete webp version of original image files. #522

Open elabx opened 9 months ago

elabx commented 9 months ago

Short description of the enhancement

Currently it is impossible to delete the webp version of the original images through the ProcessWire interface.

Current vs. suggested behavior

It would be ideal if we can delete the original file's webp version along the file variations, when selecting them through checkboxes.

Why would the enhancement be useful to users?

I has occurred to me that some PNGs with transparency don't convert well with GD and generate artifacts. A potential fix for this, is to install Imagick and enable it in ProcessWire. After installing Imagick on the server and the PW module, I have to also delete the previously generated webp so that it can be generated again. I feel it'd be practical to be able to delete it from the UI.

ryancramerdesign commented 9 months ago

@elabx Thanks good idea, I have added this. In addition to letting you delete the webp of the original image, it also lets you independently delete webp versions of the variations as well.