[WordPress] 外掛分享: Hedef Image Optimizer — WebP & AVIF

WordPress 外掛 Hedef Image Optimizer — WebP & AVIF 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Hedef Image Optimizer — WebP & AVIF」是 2025-12-13 上架。
  • 目前有 30 個安裝啟用數。
  • 上一次更新是 2025-12-14,距離現在已有 73 天。
  • 外掛最低要求 WordPress 6.5 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 8.1 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

hedefhosting |

外掛標籤

AVIF | webp | media | performance | image optimizer |

內容簡介

總結:Hedef Image Optimizer — WebP & AVIF 是一個輕量但功能強大的圖像優化外掛程式,將您上傳的 JPEG 和 PNG 圖片轉換為現代的 WebP 和 AVIF 格式。

問題與答案:
1. 這個外掛程式是如何將 JPEG 和 PNG 圖片轉換為 WebP 和 AVIF 格式的?
- 答:該外掛程式會在您的伺服器上本地進行轉換,使用 GD 和 / 或 Imagick 技術,沒有使用外部 API,也不有遠程存儲和額外的每月費用。

2. 這個外掛程式的關鍵特點有哪些?
- 答:主要特點包括自動將 JPEG / JPG 和 PNG 圖片轉換為 WebP 和 / 或 AVIF 格式、現有媒體庫圖片的批量優化工具、媒體庫“優化器”列、每個圖片的控制選項、伺服器功能檢查、前端集成以及可調整的壓縮質量等。

3. 這個外掛程式適用於哪些環境?
- 答:這個外掛程式適用於 WordPress 媒體庫和 wp_get_att。

原文外掛簡介

Hedef Image Optimizer — WebP & AVIF is a lightweight but powerful image optimization plugin that converts your JPEG and PNG uploads into modern WebP and AVIF formats.
All conversions happen locally on your server using GD and/or Imagick – there is no external API, no remote storage and no extra monthly bills.
The plugin is developed and maintained by Hedef Hosting and is provided completely free of charge.
If you have ideas, bug reports or feature requests, feel free to email us at [email protected].
It focuses on three main goals:

Better performance – Serve lighter images without visibly losing quality.
Modern formats – Use WebP and AVIF when supported by your server and your visitors’ browsers.
Simple control – Configure everything from a single, polished settings page.

Key Features

Automatically convert JPEG/JPG and PNG images to WebP and/or AVIF on upload.
Bulk optimization tool for existing Media Library images, with:

Progress bar and live log of processed items.
“Run again” support to refresh images after changing quality or resize settings.

Media Library “Optimizer” column:

See per-image status, new filesize, and percentage of space saved.
One-click Re-optimize and Restore original actions (if you keep originals).

Per-image controls in the attachment edit screen:

Optimize/Re-optimize just that image.
Override the global “Optimize on upload” setting.

Server capabilities checker for GD / Imagick WebP and AVIF support.
Optional frontend integration using tags with WebP/AVIF elements:

Modern browsers get AVIF/WebP.
Older browsers fall back to the original image.

Adjustable compression quality (0–100) with recommended ranges.
Optional resize of next-gen copies above a configurable max width (e.g. 2048px).
Optional EXIF/IPTC metadata stripping from next-gen copies to further reduce filesize.
Exclusion rules:

Skip specific images based on filename or path (e.g. logo, /icons/, avatar-).

Works with:

WordPress Media Library
wp_get_attachment_image()
Featured images and most themes/page builders.

Localization:

English (en_US)
Turkish (tr_TR) – full translation of the admin UI and bulk screens.

Everything is designed to blend nicely into the WordPress admin with a clean, modern UI.
How It Works

When you upload a JPEG or PNG image, the plugin can automatically generate .webp and/or .avif versions (depending on your settings and server capabilities).
For existing images, use the Media → Bulk Optimize (NGIO) screen to scan the Media Library and generate missing next-gen versions in small batches.
On the frontend, you can enable the integration so that supported browsers will load AVIF / WebP, while older browsers still get the original image.
The plugin stores lightweight stats in attachment metadata (ngio) so you can see how much space you’ve saved on each image and across the library.

Requirements

PHP 8.1 or higher (for AVIF support through GD or Imagick).
WordPress 6.5 or higher.
One of:

PHP GD extension compiled with WebP/AVIF support.
PHP Imagick extension with WEBP/AVIF codecs enabled.

If your server is missing some of these, the Server support box on the settings page will clearly show what’s available and what is not.
Usage
1. Choose formats and automation
On the Settings → Image Optimizer page:

Enable WebP, AVIF, or both, depending on your server capabilities.
Turn on Optimize on upload if you want new images to be processed automatically.
Enable Serve via to send WebP/AVIF to compatible browsers.

You can also:

Pick a quality level (e.g. 80–85 for most sites).
Enable Resize next-gen copies and set a max width (e.g. 2048px).
Enable Strip metadata to remove EXIF/IPTC from generated copies.
Add Exclusion patterns (one per line) to skip specific images.

2. Bulk optimization
Go to Media → Bulk Optimize (NGIO):

Click Optimize all images to start the process.
The progress bar will move as images are processed.
The log will list each optimized attachment.
If you change quality or resize settings later, you can run bulk optimization again – existing next-gen copies will be refreshed.

3. Per-image controls
In Media → Library (list view):

Use the Optimizer column to see:

Status (optimized/not optimized).
New filesize and percentage of space saved.
Links to Re-optimize and Restore original.

In the attachment edit screen:

Use the NextGen optimization metabox to:

Optimize/re-optimize just that image.
Override the global “Optimize on upload” behaviour.

License
Hedef Image Optimizer — WebP & AVIF is free software released under the GNU General Public License v2.0 or later.
You can redistribute it and/or modify it under the terms of the GPL as published by the Free Software Foundation.
See https://www.gnu.org/licenses/gpl-2.0.html for the full license text.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Hedef Image Optimizer — WebP & AVIF」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP & AVIF | Image CDN 》Optimize images、啟用 lazy load、調整大小、壓縮以及改善 Google Page 速度,使用由 WPMU DEV 超級團隊齊心研發的強大 WordPress 圖片 Smusher,100% 免費...。
  • EWWW Image Optimizer 》你是否對緩慢的網站感到沮喪?超大的圖片讓你感到 "噁心"?讓 EWWW Image Optimizer 儘可能幫助你的網站加速,提高跳出率並增強 SEO。最重要的是,讓訪客感到...。
  • Converter for Media – Optimize images | Convert WebP & AVIF 》透過使用我們的圖片優化外掛,以 WebP 和 AVIF 圖片來展示,來加速您的網站。將標準 JPEG、PNG 和 GIF 格式的文件替換成 WebP 和 AVIF 格式,可以在不失去品...。
  • WebP Express 》ch means less bandwidth usage and faster page load times., Easy to use - with little effort, WordPress site admins can have their site serving auto...。
  • Modern Image Formats 》外掛介紹:此外掛可在 WordPress 應用程式中增加 WebP 支援,但僅針對新上傳的影像檔案轉換成 WebP 格式,現有檔案不會轉換。預設情況下,WebP 只會針對 JPEG...。
  • Cache Enabler 》Cache Enabler 是個簡單卻強大的 WordPress 快取外掛,使用起來簡單且只需要最小化的設定,最重要的是能夠幫助網站提升效能來達到更快的載入時間。它會將前端...。
  • Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF 》使用 Perfect Images,輕鬆掌握您的圖像!這個強大的外掛可助您進行圖像優化和管理,輕鬆替換或批量重新生成現有圖像,設置自定義尺寸,提高性能,並為高質量...。
  • CompressX — AVIF & WebP Converter, Media Replacement 》總結:CompressX 是一個免費的 WebP 和 AVIF 轉換與壓縮 WordPress 網站外掛程式。它可以幫助您將 JPG 和 PNG 圖像輕鬆轉換為 WebP 和 AVIF 格式,並對 WebP ...。
  • Optimus – WordPress Image Optimizer 》WordPress圖片優化器, Optimus可自動降低已上傳媒體檔案的檔案大小。根據圖片和格式,可以減少高達70%的大小。每張圖片可以節省數千位元組,這些節省可以對博...。
  • QODE Optimizer 》總結:使用 QODE Optimizer 外掛可以快速且方便地提高網站轉換率和加快載入速度,壓縮、轉換、調整和完全優化網站圖像,操作簡單直觀。, , 問題與答案:, 1. ...。
  • ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization 》ShortPixel Adaptive Images 是一款易於使用的外掛程式,讓您能夠在一分鐘內解決任何圖像相關問題,並提高您的網站核心網頁要素。通常,圖像是網頁上最消耗資...。
  • QuickWebP – Compress / Optimize Images & Convert WebP | SEO Friendly 》QuickWebP 是一款用於 WordPress 的圖像壓縮和優化外掛,當圖片上傳到媒體庫時,會自動將圖片轉換為 WebP 格式。同時,它也優化圖像以提高網站的性能。該外掛...。
  • WP Enable WebP 》這是一個 WordPress 外掛程式,可以啟用 WebP 圖片上傳到媒體庫。, 同時,外掛會在 body 標籤上新增一個類別,以便使用 CSS 選擇器,方便設定背景圖片。, 例...。
  • Allow Webp image 》通常 WordPress 不允許使用 ".webp" 格式的媒體檔案,導致上傳時出現錯誤。為了解決此錯誤,您需要安裝這個外掛。啟用外掛後,即可上傳 ".webp" 圖像檔案,加...。
  • Plus WebP or AVIF 》產生 WebP, , 在媒體庫加入圖片檔時,同時產生相對應的 WebP 檔案。, 透過 AJAX 批量製作網站上所有圖片的 WebP 檔案。, 在背景中製作網站上所有圖片的 WebP ...。

文章
Filter
Apply Filters
Mastodon