WP Manifestindependent plugin directory
manifest / media / media-usage-finder

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

0stars
0forks

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.zip

Readme

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_content and 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

  1. Upload the media-usage-finder folder to your /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. 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による非同期処理を搭載。大量のメディアがあるサイトでも、サーバーに負荷をかけずに一括解析が可能です。

インストール

  1. media-usage-finder フォルダを /wp-content/plugins/ にアップロードします。
  2. 管理画面の「プラグイン」から有効化してください。
  3. メディアライブラリへ移動し、「全メディアを深層スキャン」ボタンを押すと解析が始まります。

Read the full README on GitHub →

Releases

TagPublished
v1.0.1 May 21, 2026
v1.0 Apr 24, 2026

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.