OctoSize Media Scanner

外掛說明

OctoSize Media Scanner helps site owners find oversized images, large uploads, and other heavy media library files quickly.

Features:

  • Adds Media > OctoSize Media Scanner in wp-admin
  • Scans attachment file sizes from the uploads directory
  • Sorts largest files first by default
  • Supports sorting by size, title, type, or path
  • Filters by minimum size in 5 MB increments
  • Searches by filename, title, or MIME type
  • Supports optional nightly WP-Cron scans
  • Uses caching and a scan lock to reduce repeated heavy work

Performance notes:

  • Attachment scanning runs in batches
  • Results are cached to avoid repeated full scans
  • Cache is invalidated when attachments are added, edited, or deleted

Security notes:

  • The admin page is restricted to users with the upload_files capability
  • Manual actions are protected with nonces
  • Input is sanitized and output is escaped
  • File reads are restricted to uploads-based attachment paths

安裝方式

  1. Upload the plugin to /wp-content/plugins/octosize-media-scanner/.
  2. Activate through the Plugins screen.
  3. Open Media > OctoSize Media Scanner.

常見問題集

How do I refresh the results?

Click “Rescan Now” on the plugin screen to run a fresh scan immediately.

Why are nightly scans not running?

Nightly scans depend on WP-Cron. If your host disables or delays WP-Cron, scheduled scans may not run on time.

Why are no results shown?

Confirm your media items still point to readable files inside the uploads directory.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈OctoSize Media Scanner〉的開發相關工作。

參與者

將〈OctoSize Media Scanner〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Added sortable columns.
  • Added 5 MB incremental size filters.
  • Added filename, title, and MIME type search.
  • Added nightly scan scheduling settings.
  • Added scan lock and cache behavior improvements.