跳到内容

Petro SEO Images to WebP

v1.1.2

diegopetroncari · 2026年5月16日 上架

Bulk-convert media library images to WebP for better SEO and Core Web Vitals. Originals stay on disk; the front-end serves WebP via the tag.

正在使用
10 以下
评分
暂无
累计下载
334
最近更新
2026年5月17日
需要 WordPress 5.8+已测试到 6.9.12PHP 7.1+

截图

Admin page under Media → Petro SEO Images to WebP — settings, bulk-conversion counters, and Convert / Revert / Retry controls.
Admin page under Media → Petro SEO Images to WebP — settings, bulk-conversion counters, and Convert / Revert / Retry controls.

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 <picture> 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 <img> tags from wp_get_attachment_image() and the_content in <picture><source type="image/webp">…</picture>, 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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums