WP Manifestindependent plugin directory
manifest / media / auto-delete-unused-images

Unused Images Cleaner

Automatically detects and deletes unused images from the WordPress media library.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/eleaswebdev/auto-delete-unused-images/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Unused Images Cleaner detects and deletes unused images from the WordPress media library including bulk delete.

Description

Unused Images Cleaner is a powerful WordPress plugin designed to help you identify and remove unused images from your media library. It scans your entire site, including posts, pages, Elementor content, custom post types, and custom meta fields, to detect whether an image is in use or not.

Key Features: – Scan for unused images in the media library

  • Detect images that are not referenced in posts, pages, Elementor, custom fields or custom post types – Display results in a table with options to select and delete images – Bulk delete selected images – Fully compatible with WordPress media library
  • Optimize your site's performance by reducing unnecessary media files

Installation

  1. Download the plugin zip file.
  2. Upload it to the /wp-content/plugins/ directory.
  3. Activate the plugin through the 'Plugins' menu in WordPress.
  4. Navigate to Unused Images Cleaner in the WordPress admin panel.

Frequently Asked Questions

How does this plugin detect unused images?

The plugin scans your posts, pages, Elementor content, custom post types, and meta fields to check if an image is referenced. If an image is not found in any of these, it is marked as unused.

Is it safe to delete images?

Yes, but it is recommended to take a backup before deleting images, as deleted images cannot be recovered.

Screenshots

  1. Scan Page – Start scanning your site for unused images.
  2. Results Page – View the list of detected unused images.
  3. Bulk Delete – Select multiple images and remove them in one click.

Changelog

1.0.0

  • Initial release of the Unused Images Cleaner plugin.
  • Scans posts, pages, Elementor, custom post types, and meta fields for unused images.
  • Allows individual and bulk deletion of unused images.

Upgrade Notice

1.0.0

Initial version. No upgrade required.