內容簡介
Image Weight Guard 幫助 WordPress 使用者保持媒體庫輕巧,讓網站運行更快速。它自動將 JPG 和 PNG 圖片轉換為 WebP 格式,並優化圖片大小,防止過大的圖片上傳。
【主要功能】
• 自動將新上傳的 JPG、JPEG 和 PNG 轉換為 WebP
• 優化上傳:調整大小、壓縮、移除 EXIF 和 GPS 資料
• 停止超過大小限制的圖片上傳,並提供一鍵優化選項
• 一鍵優化媒體庫中已存在的圖片
• 重建縮圖並更新文章中的圖片連結
• 支援選擇輸出格式:WebP、AVIF 或 JPEG
外掛標籤
開發者團隊
原文外掛簡介
Image Weight Guard helps WordPress users keep their Media Library light and their websites fast. It converts JPG and PNG images to WebP, optimizes them, and stops unnecessarily huge images from being uploaded.
When someone picks an image larger than your size limit (3 MB by default) in the Media Library or the editor’s media modal, a popup appears:
This image is larger than necessary. Recommended: under 500 KB. [Optimize & Upload] [Cancel]
Clicking Optimize & Upload resizes, compresses and converts the image to WebP, removes hidden metadata and cleans the file name, then uploads it to the Media Library.
The plugin can also convert and optimize the images that are already in your Media Library in one click, and it updates the image links in your content automatically.
The plugin works with WordPress image attachments regardless of which page builder or theme you use. It does not require an external service or API.
Features
Convert every new JPG, JPEG and PNG upload to WebP automatically.
Optimize uploads: resize large images, compress to a target size, remove EXIF and GPS data.
Clean file names, for example Homepage Banner FINAL final2.JPG becomes homepage-banner.webp.
Stop images over your size limit and offer a one-click “Optimize & Upload” popup.
Cancel an oversized image while still uploading your other selected files.
Convert and optimize the images already in your Media Library from the settings page.
Rebuild thumbnails and update image links in posts, pages, custom fields and settings.
Keep a backup copy of the original files when optimizing existing images.
Choose the output format: WebP, AVIF or JPEG.
Adjust the size limit, target size, maximum width/height and quality.
Works in the Media Library and in the editor’s media modal.
Does not require an external service or API. Images are processed on your own server.
How It Works
Upload an image in the Media Library or the editor’s media modal.
Images under the size limit are converted to optimized WebP automatically.
If an image is over the limit, a popup asks whether to optimize it.
Click Optimize & Upload to resize, compress and convert the image, or Cancel to skip it.
To clean up images you uploaded earlier, open Settings > Image Weight Guard and click Optimize existing images.
License
This plugin is licensed under the GPL-2.0-or-later license.
