跳到内容

MediaTidy – Image Optimizer & Media Cleanup

v7.2.0

wahab133 · 2026年10月9日 上架

Convert images to WebP/AVIF, fill missing ALT text, clean duplicate and unused media, and audit speed. Processed locally on your server.

正在使用
10 以下
评分
暂无
累计下载
284
最近更新
2026年11月17日
需要 WordPress 6.2+已测试到 7.1.5PHP 7.4+

贡献者

MediaTidy is a local media optimization and maintenance toolkit for WordPress. It helps you make images lighter, fix missing ALT text, find duplicate and unused media, and check what slows your pages down, all from one dashboard.

Image optimization

  • Converts eligible JPEG and PNG attachments to WebP (and AVIF when supported by server GD or Imagick).
  • Offers 3 compression profiles: balanced, visual-protection, and strict with a configurable sub-100 KB target.
  • Preserves generated WordPress image dimensions and attachment IDs to prevent layout shifts or broken links.
  • Automatic optimization on upload is disabled by default and requires explicit administrator activation.

Page-aware optimization & SVG cleanup

  • Scans a specific published page to identify and optimize only the exact media assets used on that page.
  • Includes a conservative SVG minifier that removes redundant comments and editor metadata without altering path geometry.
  • Unsafe SVGs containing script tags or event handlers are rejected for safety.

Contextual ALT text

  • Suggests meaningful accessibility ALT text based on surrounding page headings, captions, filenames, and nearby content.
  • Provides a preview screen so you can inspect proposed ALT text before applying it.
  • Never overwrites existing manual ALT text unless you explicitly enable that option.

Safe duplicate cleanup

  • Detects exact duplicate images by comparing cryptographic file hashes.
  • Automatically selects a primary keeper attachment and migrates database references (posts, meta, featured images).
  • Places redundant copies in quarantine first with an old-to-new 301 redirection map to prevent 404 errors.
  • Permanent removal is unlocked only after a second verification step confirms no references remain.

Unused media scanner

  • Runs a read-only scan of WordPress posts, postmeta, options, and local theme/upload files.
  • Identifies unattached and unused Media Library images for administrator review.
  • Moves approved items to a safety-trash workflow instead of deleting them outright.

Storage analytics & history

  • Provides a detailed storage breakdown across uploads, themes, plugins, and server disk capacity.
  • Records before-and-after snapshots and maintains an optimization history log of disk space saved.

Site Speed Lab

  • Conducts same-site synthetic performance checks for cache headers, image dimensions, lazy loading, and oversized images.
  • Provides low-risk safe fixes for image attributes without modifying core theme code or combined assets.

PageSpeed Insights (optional)

  • Runs official Google PageSpeed Insights tests on demand when an administrator clicks the test action.
  • Supports optional Google API keys to avoid server quota limitations.

Privacy-friendly performance analytics (optional)

  • Provides optional first-party visitor and real-user Core Web Vitals tracking, disabled by default.
  • Stores no IP addresses, user-agent strings, or personal identifying information; uses HMAC-hashed anonymous visitor identifiers.

External services

MediaTidy can use the Google PageSpeed Insights API only when an administrator explicitly starts a Google PageSpeed test from Site Speed Lab.

When this action is used, the plugin sends the same-site URL selected for testing, the selected mobile/desktop strategy, requested Lighthouse categories, locale, and an optional administrator-supplied Google API key to Google’s PageSpeed Insights API. Google receives the network request from the WordPress server. No Media Library files or local visitor analytics records are sent by this feature.

Service information: https://developers.google.com/speed/docs/insights/v5/get-started
Google Terms of Service: https://policies.google.com/terms
Google Privacy Policy: https://policies.google.com/privacy

The plugin’s internal page scanner and internal speed audit make server-side requests only to URLs on the same WordPress site and do not use a third-party service.

Development source

Human-readable source files are included for every shipped asset. WordPress uses assets/admin.min.css, assets/admin.min.js, and assets/tracker.min.js in normal production mode and the readable assets/admin.css, assets/admin.js, and assets/tracker.js files when SCRIPT_DEBUG is enabled. The minified files can be regenerated from the readable source with standard CSS/JavaScript minifiers (for example Clean-CSS and Terser); no private source repository is required.

The plugin never rewrites JavaScript, JSON, HTML, or other generated code files in the uploads directory. Uploads-directory code scanning is read-only; supported page-builder cache APIs are used when a media URL change requires cached output to be regenerated.

Privacy

Local visitor/performance analytics is disabled by default. When enabled by an administrator, a first-party browser cookie is used to distinguish anonymous daily visitors. The random browser identifier is HMAC-hashed before database storage. The analytics feature does not store IP addresses, referrer URLs, user-agent strings, email addresses, or WordPress account identifiers, and does not send the collected analytics data off-site.

WordPress privacy-policy helper text is registered in the Privacy settings screen when the plugin is active.

Google PageSpeed Insights is a separate optional external service described above and is contacted only after an administrator explicitly starts a PageSpeed test.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums