[WordPress] 外掛分享: WebP Image Converter & Replacer – Convert to WebP, No Duplicates

首頁 › 外掛目錄 › WebP Image Converter & Replacer – Convert to WebP, No Duplicates
WordPress 外掛 WebP Image Converter & Replacer – Convert to WebP, No Duplicates 的封面圖片
100+
安裝啟用
★★★☆☆
3/5 分(2 則評價)
3 天前
最後更新
—
問題解決
WordPress 5.8+ PHP 7.4+ v1.1.9 上架:2025-06-29

內容簡介

WebP Image Converter & Replacer 外掛可將 JPEG、PNG 和靜態 GIF 圖片轉換為 WebP 格式,僅在新格式較小時替換原始檔案,並更新資料庫參考,確保網站無縫提供 .webp 圖片,提升頁面載入速度並減少磁碟使用量。

【主要功能】
• 無重複圖片:僅在 WebP 較小時替換原始檔案
• 實際性能提升:WebP 通常可減少 25-35% 檔案大小
• 安全第一:轉換成功且 WebP 較小時才刪除原始檔
• 完整資料庫整合:所有生成大小均轉換並更新 URL
• 僅限伺服器端:使用 PHP GD 或 Imagick,無外部 API
• 輕量化:僅在轉換過程中運行,前端無額外負擔

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WebP Image Converter & Replacer – Convert to WebP, No Duplicates」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

WebP Image Converter & Replacer converts your images (JPEG, PNG, static GIF) to WebP, replaces originals only when smaller, and updates database references so your site transparently serves .webp. No duplicate files. No front-end bloat. Just faster pages and less disk usage.
Why this plugin
– No Duplicate Images: Converts and replaces originals when WebP is smaller, keeping /uploads lean.
– Real Performance Gains: WebP typically reduces size ~25–35% at similar quality, aiding Core Web Vitals.
– Safety First: Never deletes the original unless conversion succeeds and the WebP is smaller.
– Full DB Integration: All generated sizes are converted; URLs in content/meta are updated to .webp.
– On-Server Only: Uses PHP GD or Imagick. No external API, keys, or privacy concerns.
– Lightweight: Runs only during conversion—nothing extra on the front end.
Free features
– Convert individual images from Media → Library (list view).
– Optimization Overview with counts: convertible, converted, remaining, skipped, failed, total space saved.
– Smart memory handling to avoid PHP exhaustion on large images.
Premium features
– Auto-convert on upload: New images become WebP automatically.
– Bulk convert selected: Multi-select in Media Library (list view).
– Bulk convert all: Library-wide conversion with progress + pause/resume.

Whether you’re tight on storage or chasing better performance, this is a safe, effective way to modernize images.

IMPORTANT: Because originals may be deleted, back up your /wp-content/uploads/ and database before converting. Test on staging if possible.
How it works

Plugin checks server support (GD/Imagick with WebP).
You convert images (single/bulk/premium auto).
If the .webp is smaller, the original file is removed and all DB refs switch to .webp.
Your site now serves WebP transparently—no theme changes required.

Usage
Optimization Overview
– Settings → Media → “WebP Image Converter & Replacer”
– See totals converted/remaining/skipped/failed and space saved.
Convert individual images
– Media → Library (list view) → Convert to WebP link under each item.
Premium
– Auto-convert on upload: toggle under Settings → Media.
– Bulk convert selected: select items in Media Library (list view) → bulk action Convert to WebP.
– Bulk convert all: Start Bulk Optimization with progress + pause/resume.
After conversion
– Verify pages serve .webp in browser dev tools.
– Clear any caches/CDN.
Phoenix Media Rename Integration
We integrate with Phoenix Media Rename to safely update all database references.
Why Phoenix?
– Mature, reliable database URL updates across posts, custom fields, widgets, Customizer, etc.
– Reduces risk vs. “DIY” find/replace logic used by other optimizers.
– Lets this plugin focus on conversion while Phoenix handles DB updates.
Flow
1. Convert to WebP.
2. Phoenix updates URLs from .jpg/.png/.gif to .webp.
3. Your site serves WebP with no broken links.

延伸相關外掛

文章
Filter
Mastodon