[WordPress] 外掛分享: Petro SEO Images to WebP

首頁外掛目錄 › Petro SEO Images to WebP
WordPress 外掛 Petro SEO Images to WebP 的封面圖片
全新外掛
安裝啟用
尚無評分
31 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.1+ v1.1.2 上架:2026-05-15

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Petro SEO Images to WebP」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Petro SEO Images to WebP converts your existing JPEG and PNG attachments to WebP in bulk, then serves them on the front-end through the standard element with a full responsive srcset. The original files stay untouched on disk, so reverting is as simple as flipping a switch.
Designed to be small, dependency-free and predictable. No external services, no images uploaded anywhere, no opaque queue.
What it does

Converts every registered image size (full + thumbnails) to .webp next to the original (e.g. photo.jpg → photo.jpg.webp).
Wraps tags from wp_get_attachment_image() and the_content in , preserving full srcset and sizes.
Skips images automatically if a previous run failed because of filesystem permissions, so you can retry on demand without reprocessing the whole library.
Ramps the WebP quality down (75 → 60 → 45 → 40) when the encoded file ends up larger than the original, so you never ship a “WebP” that is heavier than the JPEG.
Idempotent: re-running the bulk job only touches new or updated images.

What it does NOT do

It does not delete or modify your original JPG/PNG files.
It does not require Imagick or a specific image library beyond what WordPress already uses (wp_get_image_editor()).
It does not phone home, register endpoints, or load remote scripts.

Privacy
The plugin processes images locally using WordPress’s built-in image editor. No data is sent to third-party services.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon