
Only WebP Uploads
v1.0.1rbonfil · 2026年1月9日 上架
Automatically converts uploaded images (JPG/JPEG/PNG/GIF) to WebP, including all WordPress sizes.
- 正在使用
- 30+
- 评分
- 暂无
- 累计下载
- 632
- 最近更新
- 2026年1月10日
贡献者
截图
Only WebP Uploads automatically converts your image uploads (JPG, PNG, GIF) to WebP format. It handles all image sizes generated by WordPress, ensuring your site serves optimized, modern image formats.
Features:
* Automatic Conversion: Converts images immediately upon upload.
* Space Saving: Replaces original files with lighter WebP versions.
* Database Integration: Updates WordPress metadata so the Media Library recognizes the file as WebP.
* Bulk Conversion: Includes a tool to scan and convert existing images in your library.
* WP-CLI Support: Manage conversions via command line using wp onlywebp.
* Smart Filename Sanitization: Automatically cleans filenames (e.g., mañana.jpg -> manana.webp). For non-Latin names (e.g., Japanese), it generates a secure unique ID to ensure compatibility.
* Security: Checks for Imagick support and sanitizes filenames.

