[WordPress] 外掛分享: Tanupom In-Place Converter for WebP

首頁外掛目錄 › Tanupom In-Place Converter for WebP
WordPress 外掛 Tanupom In-Place Converter for WebP 的封面圖片
全新外掛
安裝啟用
尚無評分
3 天前
最後更新
問題解決
WordPress 5.5+ PHP 7.4+ v0.3.0 上架:2026-07-14

內容簡介

Tanupom In-Place Converter for WebP 外掛提供簡化的圖片轉換功能,將 JPEG、PNG 等格式的圖片直接轉換為 WebP 格式,並替換原始檔案,讓媒體庫僅保留一套 WebP 檔案,減少儲存空間與管理負擔。

【主要功能】
• 自動轉換上傳的圖片為 WebP
• 非破壞性庫存掃描,報告圖片使用情況
• 批次轉換現有 JPEG 和 PNG 附件
• 替換文章內容中的舊圖片 URL
• 可調整 JPEG 和 PNG 的轉換品質設定

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.3.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Tanupom In-Place Converter for WebP」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Most WebP plugins keep your original JPEG/PNG files and serve WebP conditionally, which leaves you maintaining two copies of every image. Tanupom In-Place Converter for WebP takes the opposite, minimal approach: it replaces the originals with WebP in place, so your whole library ends up as a single set of WebP files. No rewrite rules, no .htaccess tricks, no duplicate storage.
It uses your server’s Imagick (ImageMagick) build to do the conversion, so heavy lifting stays on the server and the plugin itself stays small.
What it does

Automatic conversion on upload. New uploads of JPEG, PNG, BMP, HEIC, and HEIF are converted to WebP at upload time via the wp_handle_upload filter, replacing the original in place. If your server cannot output WebP (or HEIC/HEIF delegates are missing), the upload is passed through unchanged.
Inventory scan (non-destructive). Before touching anything, it reports where image URLs are used across post content, post meta, and options — so you know what a conversion will affect.
Bulk WebP conversion. Converts every existing JPEG and PNG attachment — the original plus all of its generated sub-sizes — to WebP, then deletes the old files. Runs in small batches via AJAX so it survives shared-hosting execution-time limits, and shows live progress.
Reference replacement. After conversion, it rewrites the old image URLs to the new .webp URLs in your post content and options. Serialized options (widgets, theme mods) are handled with a serialize-safe replacement so the data does not break.

Conversion settings

JPEG is encoded as lossy WebP at a configurable quality (default 80).
PNG is encoded as lossless WebP with alpha (transparency) preserved, to avoid fringing on logos and text.
EXIF orientation is baked into the pixels before conversion (no more sideways phone photos).
EXIF metadata is stripped (smaller files, and no leaking GPS location data).

All three of these are adjustable from the plugin’s settings.
Important: this is in-place and irreversible
This plugin replaces and deletes your original images, both at upload time and during bulk conversion. There is no automatic rollback. Back up your media library (and database) before running the bulk conversion.
Requirements

The Imagick PHP extension, built with WebP support. The plugin detects this and disables conversion (with a notice) if your server can’t output WebP.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon