Open
Description
Expected Behavior
When I delete an image from the WP media library, I expect that all derivative image files that were created by Timber image filters are deleted as well.
Actual behavior
Images that were created by a combination of resize
and towebp
filters are not deleted from the file system.
Steps to reproduce behavior
- Create image in Twig:
image.src|towebp|resize(100,100)
- Delete the image from the WP media library
Notes
No response
What version of Timber are you using?
Timber 2.0
What version of WordPress are you using?
WordPress 6.4.2
What version of PHP are you using?
PHP 8.1
How did you install Timber?
Installed or updated Timber through Composer