Home > Article > CMS Tutorial > How to delete unused images in WordPress
By default, WordPress will automatically generate thumbnails of several different sizes for the images you upload, but some WordPress themes will not call these thumbnails at all. It's superfluous. So, how can we quickly delete these generated thumbnails? It is recommended to try the DNUI (Delete not used image) plug-in.
DNUI Delete not used image introduction and usage
Delete not used image (DNUI for short) is a plug-in that quickly finds unused images and supports batch deletion of useless thumbnails.
After searching for DNUI on the plug-in installation interface, you can install it online, or download DNUI Delete not used image here. After enabling the plug-in, visit the background - Settings - DNUI, and then enter the query quantity (it is recommended to be larger than your picture) total number), then click Scan, you can see the results:
Click the "Select All" button at the bottom, and all useless thumbnails will be selected (not The original image will be selected), and then click "Delete" to delete it.
For more wordpress related technical articles, please visit the wordpress tutorial column to learn!
The above is the detailed content of How to delete unused images in WordPress. For more information, please follow other related articles on the PHP Chinese website!