跳到内容

Force WebP

v1.6

Qrzysio · 2025年7月20日 上架

Say goodbye to JPG and PNG - make your site run on fast, modern WebP images.

正在使用
200+
评分
4.0 / 5
累计下载
2,560
最近更新
2026年8月23日
1 条评价需要 WordPress 6.5+已测试到 7.1.5PHP 7.4+

贡献者

This plugin converts every uploaded JPG or PNG image into modern WebP format to improve performance and reduce file size.

Key features:
– automatic conversion of JPG and PNG images to WebP on upload
– thumbnails are written directly as WebP by WordPress itself – one lossy pass instead of two
– configurable WebP quality level
– optional maximum image width (original images are resized before thumbnails are generated)
– optional removal of the original JPG/PNG files to save disk space
– ICC colour profiles are preserved, so photos keep their colours
– self-healing metadata: broken thumbnail references are corrected automatically
– built-in repair tool for media libraries damaged by older versions
– automatic alt text generation based on the filename
– filename sanitization and collision-safe renaming

All settings apply only to newly uploaded images. Existing media files are not modified.

Configuration

You can configure the plugin in Tools Force WebP.

Available options:
– WebP quality (0-100): controls compression quality for newly uploaded images
– Max width (px, optional): limits the maximum width of original images before WordPress generates thumbnails (0 = disabled)
– Keep original JPG/PNG: keeps the source file after a successful conversion (off by default)

The same page offers a repair tool that fixes attachments whose thumbnails were broken by versions 1.2-1.5 (see FAQ).

All settings affect only images uploaded after saving the configuration.

Plums

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

导航

说明

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

© 2026 Plums