Install
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/kimbranzell/wp-image-usage-tracker/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Image Usage Tracker for WordPress
Track where your images are used across your WordPress site. Get instant insights about image usage in posts, pages, widgets, and more.
Description
Image Usage Tracker helps you maintain a clean and efficient media library by showing exactly where each image is being used across your WordPress site. Whether it's in posts, pages, widgets, or as featured images - you'll know exactly where each image appears.
Features
- Real-time Tracking: Automatically tracks image usage when content is created or updated
- Detailed Usage Information: See exactly where each image is used with direct links
- Media Library Integration: View usage data directly in the Media Library
- Bulk Scanning: Scan all images at once to update usage data
- Search Functionality: Quickly find specific images and their usage
- Screen Options: Customize your view with WordPress native screen options
Installation
- Upload the plugin files to
/wp-content/plugins/image-usage-tracker - Activate the plugin through the 'Plugins' screen in WordPress
- Navigate to Media → Image Usage to view the tracker
Usage
Viewing Image Usage
- Go to Media → Image Usage
- See a list of all images with their usage count
- Click "Scan Now" on any image to update its usage data
Bulk Scanning
- Click "Scan All Images" at the top of the page
- Wait for the scan to complete
- View updated usage data for all images
Media Library Integration
- Open any image in the Media Library
- Find the "Image Usage" section in the attachment details
- See where the image is being used across your site
Requirements
- WordPress 5.0 or higher
- PHP 7.2 or higher
Contributing
Contributions are welcome! Feel free to:
- Fork the repository
- Create a feature branch
- Submit a Pull Request
License
This project is licensed under the GPL v2 or later.