Media Usage Finder
A media auditor for WP. Tracks exact image usage in posts, ACF, OGP, and icons to safely identify unused assets. / 投稿、カスタムフィールド、OGP等での画像使用状況を精密調査。不要な画像を特定し、サーバー容量を安全に最適化。
by masato shibuya(Image-box Co., Ltd.) · github.com/ms13th-cyber/media-usage-finder · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ms13th-cyber/media-usage-finder/archive/refs/heads/main.zipReadme
Media Usage Finder
A deep-scan media auditor for WordPress. Tracks exact image usage in posts, pages, custom fields, OGP tags, and site icons (apple-touch-icon). Safely identifies unused assets for site optimization.
[日本語の解説は英語の後にあります]
Key Features
- Deep Content Analysis: Scans
post_contentand metadata to identify images embedded in pages and custom fields. - Header Asset Detection: Automatically detects images used for
apple-touch-icon, Site Icons, and Favicons. - OGP & Social Media Audit: Finds images set for Open Graph tags within popular SEO plugin settings using URL-based deep scanning.
- Smart Asset Mapping: Shows exactly where each file is used directly in the Media Library, making it safe to delete truly unused media.
- Batch Processing: Includes an Ajax-powered bulk scan feature to analyze large media libraries without overloading your server.
Installation
- Upload the
media-usage-finderfolder to your/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- Go to the Media Library and click the "Start Bulk Scan" button to analyze your assets.
主な機能(日本語)
その画像、本当に消しても大丈夫?「Media Usage Finder」は、標準機能では追いきれない「固定ページ本文」「ヘッダー設定」「OGPタグ」まで徹底的にスキャンする、サイト保守に特化したメディア監査プラグインです。
- ディープ・コンテンツ解析: 投稿・固定ページの本文やカスタムフィールド内をスキャンし、実際の表示に使われている画像を特定します。
- ヘッダー資産の検出:
apple-touch-iconやサイトアイコン、ファビコンに使用されている画像を自動検出します。 - OGP・SNS設定の監査: URLベースの深層スキャンにより、SEOプラグイン等で設定されたSNS共有用画像の参照を特定します。
- 使用箇所の可視化: メディアライブラリ上に直接「どこで使われているか」を表示。孤立したメディアを可視化し、安全なサーバー容量削減をサポートします。
- 一括スキャン機能: Ajaxによる非同期処理を搭載。大量のメディアがあるサイトでも、サーバーに負荷をかけずに一括解析が可能です。
インストール
media-usage-finderフォルダを/wp-content/plugins/にアップロードします。- 管理画面の「プラグイン」から有効化してください。
- メディアライブラリへ移動し、「全メディアを深層スキャン」ボタンを押すと解析が始まります。
Read the full README on GitHub →
Releases
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.