Tekuno Media Audit

Description

Your media library has been growing for years. Images from discarded drafts, photos uploaded by mistake, duplicates nobody remembers adding, orphaned thumbnails from deleted posts. Most WordPress users have no idea how much space their library takes up — or what’s actually safe to remove.

Tekuno Media Audit is a media library audit plugin, not a cleaner. It shows you exactly what’s in your library — total weight, unused files, exact duplicates, missing alt text — and leaves every deletion decision in your hands. Tekuno Media Audit never deletes anything automatically.

How much does my library weigh?

Install Tekuno Media Audit and get an immediate answer — no configuration required.

Dashboard overview
Click “Analyze library” to start a background analysis. When it finishes, the dashboard shows:
– Total library weight with a breakdown by file type (images, video, audio, documents)
– Top 25 heaviest files with size and usage status
– Four insight cards: likely unused files, duplicates, missing alt text, and heavy files (over 500 KB)

Five enriched columns in your native Media Library
Tekuno Media Audit adds five columns to the Media Library list view you already use every day:
– File Size — sortable, so you can find the heaviest files instantly
– File Type — colored badge showing the actual format (JPG, PNG, MP4, PDF, etc.)
– Usage — In use or Likely unused badge after an analysis has run
– Duplicate — flags files with exact copies in your library
– Alt Text — checkmark if present, warning link if missing (images only)

File Details page: size, type, dimensions, upload date, MD5 hash, and the places where we found the file, with edit links. The list shows the places we found first and may not include every one.

Add-on

A separate add-on for this plugin is available from tekuno.dev. It requires this plugin and is not part of it.

How detection works

When you run “Analyze library,” Tekuno Media Audit checks the attachments in your library against two detection layers. A file is marked likely unused only if none of the checks finds a reference.

Layer 1 — The WordPress database
Posts, pages, post excerpts, featured images, gallery shortcodes, Gutenberg block attributes, custom fields (postmeta), global options, term meta, comment content, user meta, the latest revision of each active post. Also covers WooCommerce (product images, galleries, category thumbnails), SEO plugins (Yoast, Rank Math, SEOPress, AIOSEO), and third-party gallery and slider plugins (Slider Revolution, Smart Slider 3, NextGEN Gallery).

Layer 2 — Page builder data
Elementor, Divi, Beaver Builder, WPBakery, Bricks Builder, and Oxygen Builder each store layout data in their own formats. Layer 2 reads these natively so images embedded in page builder components are detected correctly.

Layer 2 only runs when Layer 1 finds nothing, keeping scans fast on sites without page builders.

How we determine this: Tekuno Media Audit checks your posts, pages, custom fields, widgets, site settings, WooCommerce, popular SEO plugins, and major page builders (Elementor, Divi, Beaver Builder, WPBakery, Bricks, Oxygen). If we find no reference in these places, we show the file as likely unused. Files referenced only in custom code, external services, or dynamically generated URLs can’t be detected, so always review a file before you move it to the trash.

Works with your stack

  • WPML and Polylang (direct database queries bypass language filters)
  • WooCommerce
  • Elementor, Divi, Beaver Builder, WPBakery, Bricks Builder, Oxygen Builder
  • Yoast SEO, Rank Math, SEOPress, AIOSEO
  • Slider Revolution, Smart Slider 3, NextGEN Gallery
  • Multisite: activate it on each site separately (each site has its own library)
  • PHP 7.4 or higher

External services

Tekuno Media Audit does not connect to any external service. It makes no HTTP requests to other sites and does not collect analytics, usage data, or telemetry.

Installation

  1. Upload the tekuno-media-audit folder to /wp-content/plugins/, or install directly from the WordPress plugin directory.
  2. Activate the plugin from the Plugins menu.
  3. Go to Media Audit in the WordPress admin sidebar.
  4. Click Analyze library to run your first analysis.

The scan runs in the background via WP-Cron. How long it takes depends on the size of your library. You can optionally enter an email address to be notified when the scan finishes.

FAQ

Will this plugin delete my files?

No. Tekuno Media Audit never deletes anything automatically. You decide what to move to the trash, and each move or permanent deletion asks you to confirm.

How accurate is the “likely unused” status?

Tekuno Media Audit checks two detection layers covering the WordPress database, all major page builders, WooCommerce, and popular SEO and gallery plugins. If we find no reference in these places, we show the file as likely unused. Files referenced only in custom PHP code, external services, or dynamically generated URLs can’t be detected. Always review results before moving a file to the trash.

What if my host has WP-Cron disabled?

The background scan uses WP-Cron. If your host has DISABLE_WP_CRON set to true, the analysis stops advancing and the Dashboard tells you so. You will need a real server-side cron job that calls wp-cron.php every minute. Your hosting provider can help set this up. This is a common configuration on managed WordPress hosts.

What PHP memory does the plugin require?

We recommend at least 128 MB of PHP memory (WP_MEMORY_LIMIT). You can increase this in your wp-config.php or by contacting your host.

Does it work with WPML or Polylang?

Yes. Tekuno Media Audit uses direct database queries that bypass WPML and Polylang language filters, so attachments in every language are included.

Does it work with WooCommerce?

Yes. Tekuno Media Audit detects images used in WooCommerce product images, galleries, and category thumbnails.

What happens if I delete the plugin while the trash is not empty?

Deleting the plugin removes its settings and analysis data. It does not change your posts or media. If the trash is not empty when you delete the plugin, we keep what is needed to restore those files, and the uploads/tekuno-media-audit folder stays on your server. Restore the files you want, or empty the trash, before you delete the plugin. Otherwise the files stay in the trash folder, pages that used them may show a placeholder or a broken image, and you need to reinstall the plugin to restore them. On nginx servers, block direct access to /uploads/tekuno-media-audit/trash/ yourself, because nginx ignores .htaccess: location ~ /uploads/tekuno-media-audit/trash/ { deny all; }

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Tekuno Media Audit” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Tekuno Media Audit” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

4.0.0

  • New: first release as Tekuno Media Audit.
  • Changed: the Pro features are no longer part of this plugin. They ship as a separate add-on from tekuno.dev that requires this plugin.
  • Fixed: attachment IDs are now compared as exact text values in the detection queries, so a file is no longer counted as used because an unrelated value starts with the same digits.
  • Changed: summary emails no longer include a “Powered by” line.
  • New: the Dashboard warns when a background analysis stops advancing (WP-Cron not running).
  • Changed: uninstalling with items in the trash keeps the data needed to restore them.
  • Changed: the minimum PHP version is now 7.4.