WebP images still exist after deleting media
-
When I delete an image from the media library, the WebP versions created by LiteSpeed are not deleted, but remain in the uploads directory.
This gives me a problem if I now upload a new version of the image that I deleted. Because there are still related images in the uploads folder, WP renames my new image file with a “-1” suffix.
Say my image is named xxxxx.png, then it will be named xxxxx-1.png.
This causes issues for our theme files, which expect to find the original name xxxxx.png.
What do I need to do, to remove the WebP versions of the deleted image, before uploading a new one?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WebP images still exist after deleting media’ is closed to new replies.