[WordPress] 外掛分享: CompressPrivacy – Local Image Compression to WebP & AVIF

首頁外掛目錄 › CompressPrivacy – Local Image Compression to WebP & AVIF
WordPress 外掛 CompressPrivacy – Local Image Compression to WebP & AVIF 的封面圖片
全新外掛
安裝啟用
尚無評分
13 天前
最後更新
問題解決
WordPress 6.8+ PHP 7.4+ v1.0.0 上架:2026-08-17

內容簡介

CompressPrivacy 是一款本地圖片壓縮外掛,能夠將圖片轉換為 WebP 或 AVIF 格式,完全在使用者的瀏覽器中進行處理,無需伺服器端處理或外部 API,並且沒有使用限制。

【主要功能】
• 本地壓縮圖片至 WebP 或 AVIF
• 在控制台的批次優化器中操作
• 實時顯示每個檔案及總節省百分比
• 支援多檔案同時壓縮與上傳
• 自動檢測瀏覽器支援的編碼格式
• 不影響 WordPress 其他上傳流程

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「CompressPrivacy – Local Image Compression to WebP & AVIF」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

CompressPrivacy Private Image Compression compresses images locally to WebP or AVIF entirely in your browser, using your own CPU — no server-side processing, no external API, no usage limit.
All compression happens on one dedicated screen: Media → Bulk Optimizer. Drop or select any number of images there, adjust the quality slider if you like, and each one is compressed and uploaded straight into the Media Library, with live per-file and total percentage-saved shown as it goes.
Uploading anywhere else in WordPress — the Media Library’s own upload tab, a product image, a featured image, a gallery — is untouched by this plugin by design. The workflow is: compress what you need on the Bulk Optimizer page first, then select the already-compressed file from the Media Library wherever you actually need it.
How it works

On the Bulk Optimizer page, each selected image is drawn to an in-memory and re-encoded via canvas.toBlob() to WebP, or AVIF where the browser supports it.
The compressed file is uploaded to a dedicated endpoint that inserts it into the Media Library the standard WordPress way (wp_handle_upload() + wp_insert_attachment()).
If compression fails, isn’t smaller than the original, or the browser doesn’t support the required APIs, the original file uploads unmodified — nothing is ever blocked.
Up to a few files compress and upload concurrently, so large batches don’t process one at a time.

Notes

Animated GIFs are skipped by default (canvas conversion would drop the animation); this is configurable.
AVIF encoding support varies by browser; the plugin detects support automatically and falls back to WebP.
Already-optimized formats (WebP, AVIF, SVG) are left untouched.

延伸相關外掛

文章
Filter
Mastodon