
內容簡介
Media Optimizer 是一款專為 WordPress 設計的外掛,能夠生成 WebP 和 AVIF 格式的圖片,並優化原始的 JPEG 和 PNG 上傳檔案。它提供本地處理,確保資料安全,並能有效提升網站的圖片載入速度。
【主要功能】
• 生成 WebP 和 AVIF 格式的側邊檔案
• 支援本地圖片優化,無需外部 API
• 可選擇性保留原始檔案和元資料
• 提供圖片質量設定選項
• 支援大規模媒體庫的批次處理
• 不收集個人資料,保障隱私
外掛標籤
開發者團隊
原文外掛簡介
Product page | Documentation | Support
Media Optimizer generates WebP and AVIF sidecars locally, tests modern image delivery, and can optimize original JPEG and PNG uploads with mandatory backups. It uses the active WordPress image editor and optional server binaries instead of sending media to a paid optimization API.
The default workflow is conservative: sidecars are generated without replacing original files or changing frontend image URLs. Original-file optimization and HTML delivery remain opt-in.
Modern image workflow
Generate WebP sidecars for original uploads and WordPress image sizes.
Generate AVIF sidecars when the active image editor or avifenc supports AVIF.
Optionally deliver AVIF first, WebP second, and retain JPEG/PNG as the fallback.
Use Delivery Assistant to test direct sidecar access and server or CDN rewrite behavior.
Review coverage, storage impact, estimated savings, and failed processing from the dashboard and Media Library.
Process larger libraries through queues and WP-CLI commands.
Optional original optimization
Resize oversized uploads with configurable maximum dimensions.
Choose lossless, balanced, aggressive, or custom JPEG quality settings.
Remove or preserve supported image metadata.
Require a local backup before replacing an original JPEG or PNG file.
Restore individual or multiple backed-up originals.
Clean generated sidecars without deleting original uploads.
Local processing and server tools
The plugin uses WordPress, GD, or Imagick where supported. It can also detect optional server binaries including cwebp, avifenc, jpegoptim, jpegtran, pngquant, oxipng, and optipng. These tools are not bundled or required.
Media Optimizer does not automatically edit .htaccess, CDN settings, or server configuration. Use Delivery Assistant before enabling frontend delivery on a production site.
Privacy
Media Optimizer does not collect personal data, create tracking cookies, or send media files to external optimization services.
Delivery Assistant makes HTTP HEAD requests to URLs on the same WordPress site to check whether generated AVIF or WebP files are reachable.
