跳到内容

York IE – WebP on Upload

v1.4.2

yorksupport · 2026年8月19日 上架

Automatically convert images to WebP format while uploading them to the WordPress media library. Replace originals, convert all sizes, and manage conv …

正在使用
20+
评分
暂无
累计下载
293
最近更新
2026年8月19日
需要 WordPress 6.4.0+已测试到 7.0.9PHP 7.4+

贡献者

截图

Settings page with per-format conversion toggles.
Settings page with per-format conversion toggles.
Manual Convert to WebP button in the attachment details popup.
Manual Convert to WebP button in the attachment details popup.
Bulk Convert to WebP action in the Media Library list view.
Bulk Convert to WebP action in the Media Library list view.

York IE – WebP on Upload plugin automatically converts JPEG, PNG, and static GIF images to WebP format while uploading them to the WordPress media library. The plugin replaces the original files on disk and converts every registered image size generated by WordPress.

This helps reduce image file sizes and improve page load performance without requiring a third-party image optimization service.

Features

  • Automatic WebP conversion on media upload
  • Replaces the original image file with the WebP version
  • Converts all generated image sizes (thumbnail, medium, large, and custom sizes)
  • Per-format settings for JPEG, PNG, and GIF
  • Manual Convert to WebP button in the attachment details popup
  • Bulk Convert to WebP action in the Media Library list view
  • Skips animated GIF and SVG files
  • Uses PHP GD (imagewebp) — no external API required

Requirements

  • PHP GD extension with WebP support (imagewebp())
  • WordPress 6.0 or later

How it works

  1. A user uploads an image to the Media Library.
  2. The plugin checks whether the format is enabled in settings.
  3. GD converts the uploaded file and all generated sizes to WebP.
  4. Original files are replaced with .webp versions and attachment metadata is updated.

Developer filters

  • yiewebpu_webp_quality — Adjust the WebP quality (0–100) used during conversion. Default is 82.

Plums

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

导航

说明

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

© 2026 Plums