
內容簡介
DVMAGIC Local Image Conversion for AVIF and WebP 外掛可將 JPEG、PNG 和 GIF 圖片轉換為現代格式,並可批量轉換現有的媒體庫。此外掛在本地運行,無需外部 API,提供完整功能且免費,適合生產環境使用。
【主要功能】
• 上傳時轉換(可選)
• 批量轉換舊媒體庫圖片
• AVIF 為主格式,無法編碼時自動回退至 WebP
• 可選擇保留原始檔案(預設關閉)
• 伺服器能力面板顯示編碼支持
• 轉換後自動重寫文章內容和元資料的 URL
外掛標籤
開發者團隊
② 後台搜尋「DVMAGIC Local Image Conversion for AVIF and WebP」→ 直接安裝(推薦)
原文外掛簡介
DVMAGIC Local Image Conversion for AVIF and WebP converts JPEG, PNG and GIF uploads to modern formats on your own server — and can batch-convert your existing Media Library.
Built by Auslander Studio for production WordPress sites we operate ourselves. Unlike SaaS optimizers, everything runs locally with no usage caps — full feature set, free.
What makes this plugin different
No external API — images never leave your server
No subscription or quota — batch the whole Media Library when you need to
AVIF-first with WebP fallback when the host cannot encode AVIF
Optional keep originals for rollback without a second plugin
Server capability panel so you know what the host can encode before you batch
URL rewrite in post content and meta after conversion
Features
Convert on upload (optional)
Batch convert legacy library images
AVIF primary with automatic WebP fallback when the host lacks AVIF encode
Optional Keep originals (off by default)
Server capability panel (Imagick, GD, AVIF/WebP)
URL rewrite in post content and meta after conversion
Action Scheduler queue when available; WP-Cron fallback
Requirements
AVIF encoding: PHP extension imagick (PECL imagick) with ImageMagick built for AVIF output (AVIF in Imagick::queryFormats('AVIF')). GD cannot encode AVIF in this plugin.
WebP encoding: imagick with WebP support, or PHP extension gd with WebP enabled (imagewebp available).
Sufficient disk space and CPU for batch jobs
Back up wp-content/uploads/ before running a full library batch
Check Media → DVMAGIC Image Conversion → Server capabilities after install — the panel shows Imagick, Imagick WebP, Imagick AVIF, and GD WebP on your host.
PHP extensions (summary)
AVIF output — PHP extension imagick (PECL). ImageMagick on the server must support AVIF encode (host-dependent; often ImageMagick 7 + libavif). Check “Imagick AVIF” in the plugin’s Server capabilities panel.
WebP output — imagick with WebP support, or PHP extension gd with WebP enabled (imagewebp).
Reading JPEG/PNG/GIF — imagick and/or gd (typical on most hosts).
If only GD with WebP is available, set Primary format to WebP, or leave AVIF and the plugin will fall back to WebP when AVIF encode is not detected.
Author
DVMAGIC — LinkedIn
