Force WebP
v1.6Qrzysio · 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日
贡献者
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.