
內容簡介
外掛介紹:此外掛可在 WordPress 應用程式中增加 WebP 支援,但僅針對新上傳的影像檔案轉換成 WebP 格式,現有檔案不會轉換。預設情況下,WebP 只會針對 JPEG 上傳產生,原始上傳檔案仍存在 JPEG 形式,而所有產生的圖像大小都會以 WebP 形式存在。若要更改此行為,可在 [設定]>[多媒體] 中勾選一個核取方塊,當勾選時,此外掛的行為將改為在每個子大小上產生 JPEG 與 WebP 影像(需注意,這僅會影響新增上傳的影像)。
問題與答案:
1. 這個外掛的功能是什麼?
答:此外掛可增加 WordPress 應用程式中對 WebP 影像格式的支援。
2. WebP 影像只會針對哪種上傳產生?
答:WebP 影像預設只會針對 JPEG 上傳產生。
3. 存在哪些 WebP 影像?
答:所有產生的圖像大小都會存在 WebP 格式。
4. 若希望改變此外掛的行為,可以怎麼做?
答:可以在 [設定]>[多媒體] 中勾選一個核取方塊,行為會改變為在每個子大小上產生 JPEG 與 WebP 影像(但這僅會影響新增上傳的影像)。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
This plugin adds WebP and AVIF support for media uploads within the WordPress application. By default, AVIF images will be generated if supported on the hosting server, otherwise WebP will be used as the output format. When both formats are available, the output format can be selected under Settings > Media. Modern images will be generated only for new uploads, pre-existing images will only converted to a modern format if images are regenerated. Images can be regenerated with a plugin like Regenerate Thumbnails or via WP-CLI with the wp media regenerate command.
By default, only modern image format sub-sizes will be generated for JPEG or PNG uploads – only the original uploaded file will still exist as a JPEG/PNG image, generated image sizes will be WebP or AVIF files. To change this behavior, there is a checkbox in Settings > Media “Output fallback images” that – when checked – will result in the plugin generating both the original format as well as WebP or AVIF images for every sub-size (noting again that this will only affect newly uploaded images, i.e. after making said change).
This plugin was formerly known as WebP Uploads.
