Delete large original image files (Bulk)
The new way of handling big images introduced in WordPress 5.3 leads to a nice reduction in traffic but doesn’t offer any savings regarding storage space (usage of server disk space).
A customer uploaded a huge amount of large images. For Images larger then 2560px (with OR height) a scaled down version was automatically created and saved using the suffix
which is more than enough for our use case.
So far so good; Now i want to remove the huge original files, but only for when a
-scaled version was generated. I know this can be done during upload, but can it be done afterwards?
Or is there an easy way to remove all images larger than 2560px?
PS: We are talking about at least 500 individual images here..