Περιγραφή
WordPress 5.3 added “big image handling” that scales uploaded images to a maximum size of 2560 pixels for use on the website. WP adds “-scaled” to the full size image file name. The original, unscaled images are kept on the server. This can mean that many large images are stored on the server that aren’t ever actually going to be displayed on the website. In my case, users are uploading 15MB files from their cameras.
After the scaled version and intermediate/thumbnail images are generated, the originals are no longer needed and just taking up storage space. Delete Unscaled Images will remove those unneeded files.
First, original images are deleted immediately after the resized versions are created for all new uploads.
Second, there is a bulk deletion tool in the Media submenu to process existing images.
Εγκατάσταση
See the standard installation instructions at WordPress.org or WPBeginner.
Κριτικές
Συνεισφέροντες & Προγραμματιστές
“Delete Unscaled Images” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.
ΣυντελεστέςΜεταφράστε το “Delete Unscaled Images” στην γλώσσα σας.
Ενδιαφέρεστε για την ανάπτυξη;
Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .
Σύνοψη αλλαγών
1.2
- Added bulk delete Media submenu page.
1.1
- Hooked into image upload to delete originals immediately.
1.0
- Crude bulk process as proof of concept.