[WordPress] 外掛分享: Image Ninja – Convert Images to WebP & AVIF on Upload

首頁 › 外掛目錄 › Image Ninja – Convert Images to WebP & AVIF on Upload
WordPress 外掛 Image Ninja – Convert Images to WebP & AVIF on Upload 的封面圖片
60+
安裝啟用
—
尚無評分
26 天前
最後更新
0%
問題解決
WordPress 6.5+ PHP 7.2+ v1.1.0 上架:2024-11-27

內容簡介

Image Ninja 外掛能夠將上傳的圖片轉換為更小的 WebP 或 AVIF 格式,從而加快網站載入速度,提升使用者體驗及搜尋排名。無需編碼或額外步驟,輕鬆上傳圖片即可自動處理。

【主要功能】
• 支援 WebP 和 AVIF 格式選擇
• 可調整圖片品質,預設為 80
• 保留顏色準確性,支援 ImageMagick
• 自動修正橫向拍攝的照片
• 移除照片位置資訊,保護隱私
• 僅在有助於減小檔案時進行轉換

外掛標籤

開發者團隊

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

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

原文外掛簡介

Image Ninja makes your website faster by turning the images you upload into smaller, modern WebP or AVIF files. No coding, no extra steps: upload your images as usual and Image Ninja does the rest.
Images are usually the heaviest part of a web page. WebP and AVIF look the same as JPEG and PNG but are much smaller, so your pages load faster, especially on phones and slow connections. Faster pages also help with search rankings (Core Web Vitals).
How it works

Choose a format under Settings > Media. WebP is recommended.
Upload images the way you always do: in the Media Library, the block editor, or your page builder.
Image Ninja converts each JPEG or PNG before WordPress saves it. Your Media Library, your theme, and your page builder simply use the smaller WebP or AVIF image, like any other image.

Because the image is converted at upload, it works with every theme and page builder, and there is nothing to set up on your server.
Features

WebP or AVIF, your choice. WebP works in all modern browsers. AVIF files are often even smaller. You can also let Image Ninja try AVIF first and use WebP when AVIF is not possible.
Adjustable image quality. One simple setting from 1 to 100, with a sensible default of 80.
Accurate colours. When your server has ImageMagick, colour profiles are kept, so photos from professional cameras (Adobe RGB, Display P3) look exactly as intended. Camera details and copyright information are kept too.
Photos are never sideways. Photos taken with a phone held sideways are turned the right way up before they are converted.
Removes photo locations (new). Phones save the exact place where a photo was taken inside the image, which can reveal your home address to anyone who downloads it. Image Ninja removes the location and keeps everything else. On by default.
Only converts when it helps (new). If a converted image would be bigger than the original (this happens with some small icons and simple graphics), your original is kept instead. On by default.
Keep your originals if you want (new). Optionally keep a copy of every original JPEG or PNG as a backup, linked from the image details and deleted together with the image.
See what happened to every image (new). The Media Library shows the format, how much smaller the image became, and a link to the original. In list view, the “Image Ninja” column shows it at a glance.
Checks your server for you. The settings page shows which formats your server can create and explains in plain words what to ask your hosting provider if something is missing.
Lightweight. No external services, no accounts, no tracking. Everything happens on your own server.

Which format should I choose?

WebP (recommended): works in every modern browser and is quick to create. Typically 25–35% smaller than JPEG, and often 80–90% smaller than PNG photos.
AVIF (smallest files): often around half the size of a JPEG. Takes a few seconds per image to create, and very old browsers (for example Safari before version 16) cannot show AVIF.
AVIF, or WebP when AVIF is not possible: tries AVIF first and uses WebP if your server cannot create an AVIF or the AVIF would be bigger.

License
This plugin is licensed under the GPLv2 or later license.

延伸相關外掛

文章
Filter
Mastodon