MediaXray Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
What makes MediaXray different
Most media cleaners give you a yes/no “unused” list. MediaXray builds a full usage map first and treats deletion as the last, reversible step:
- Counts every single use, not just “used / unused”. Each occurrence is recorded with the page, product, template or setting it is in, and the exact block, widget, breakpoint or field that uses it.
- Understands Elementor at widget level. Image widgets, container backgrounds on every breakpoint, overlays, carousels, dynamic tags, the Global Kit and Theme Builder display conditions (a header shown site-wide makes its logo Global).
- Four statuses instead of two. Used, Global (protected), Review (only drafts, unassigned templates, inactive themes, uncertain matches) and Unused, so “no reference found” never silently becomes “delete”.
- Independent deep verification before cleanup. A brute-force search of the raw database and the active theme’s files double-checks every file before it can be removed.
- Restorable quarantine. Files (including WebP/AVIF copies) are moved out of reach, not deleted, so you can check your site and restore with one click.
- Built for big sites. Resumable batched scans, an index that updates itself as content changes, and WP-CLI commands.
MediaXray answers two questions, in this order:
- Where is this file used? Every individual reference, grouped by page, product, template or setting, with the widget, block or field that uses it.
- Is it safe to remove? Only after the first question is answered, and only after an independent deep verification.
Statuses
- Used — confirmed references in live (published or private) content.
- Global — logo, site icon, active theme settings, Theme Builder templates shown site-wide, Elementor Global Kit, active widgets. Protected from cleanup.
- Review — only referenced by drafts, unassigned templates, inactive themes or widgets, Elementor’s stored fallback HTML, or uncertain matches.
- Unused — no reference found by any supported source.
How references are counted
- A reference is one individual use. The same image twice on a page is 2 references on 1 page.
- One image tag with its srcset, wp-image class and a link to its full size is 1 reference.
- Unique content counts each page, product, template, term or setting once.
What is scanned
- All content types (pages, posts, products, custom post types, Elementor templates, block templates, reusable blocks) in every status except Trash.
- Gutenberg blocks (block-aware), classic HTML, galleries and shortcodes, featured images, excerpts.
- Elementor: every widget and container — images, backgrounds on every breakpoint, overlays, galleries and carousels, video, links, dynamic tags, page and Global Kit settings, Theme Builder display conditions, embedded templates, atomic elements.
- WooCommerce: product images, galleries, variation images (shown on the parent product), category images, downloadable files.
- ACF fields (field-type aware when ACF is active), all custom fields, term and user meta, comments, widgets, Customizer, site icon and logo, Yoast SEO images and plugin settings.
Safe cleanup
- Deep verification searches the raw database and the active theme’s files for every file name and ID pattern of the attachment, independently of the parsers.
- Quarantine moves all files of an attachment (including WebP/AVIF copies made by converter plugins) into a protected folder and hides it from the Media Library. One click restores it.
- Permanent deletion only works on quarantined items and requires typing DELETE.
- Uninstalling the plugin restores everything that is still in quarantine.
Built for large sites
Scans run in short, resumable batches, keep the previous results visible until the new scan is complete, and the index updates itself when content, terms, uploads or settings change. WP-CLI: wp mediaxray scan, status, list, usage <id>, verify <id>.
Privacy
MediaXray makes no external requests, sends no data anywhere and adds no tracking. All analysis happens in your own database.
Screenshots
Overview: status totals, scan progress and the media usage list.
Usage details: every reference grouped by page, template and setting.
Quarantine: restore or permanently delete reviewed files.
Media Library integration: usage column and attachment details panel.

