
Smart WebP Converter
v1.2.1FireXCore · 2025年1月29日 上架
Convert newly uploaded images to WebP without silently invalidating media-library paths.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 3,098
- 最近更新
- 2026年10月31日
贡献者
截图
Smart WebP Converter converts JPEG/PNG images and supported single-frame GIF images on new uploads.
By default the original stays intact. WebP sidecars are placed alongside the original and generated sizes. When WordPress renders attachment images or core/image blocks, a picture element supplies WebP and retains the original as browser fallback.
The optional Replace Original mode converts before an attachment is created, so WordPress builds its image metadata and thumbnails from the new WebP. This mode removes the old file and must be backed up/tested before enabling.
Other features:
* Quality control and optional metadata stripping.
* True lossless only with an ImageMagick installation supporting WebP.
* Native WordPress settings permissions/nonces.
* Conversion dashboard using locally rendered HTML/CSS (no remote scripts).
* Existing attachment alt text preserved; only meaningful editorial titles fill empty alt text.
* Existing database statistics and firexcore_webp_* settings retained from version 1.1.0.
* Visible WebP conversion status in Media Library and single-image sidecar regeneration for existing attachments.
Limitations and safeguards:
* New uploads are processed automatically. In Media Library, view WebP status and regenerate a missing sidecar for an existing image without replacing its original; no automatic bulk pass is run.
* A source PNG/JPEG remains PNG/JPEG in Media Library while Replace Original is OFF; a separate WebP file is generated where server support permits. The additional WebP file is reported separately.
* Site icons (including apple-touch-icon PNG), CSS backgrounds and raw URLs are not automatically rewritten.
* Animated GIFs are skipped to preserve animation. GIFs require Imagick even when single-frame.
* Large images above 40 million pixels are skipped.
* Raw HTML image URLs and CSS background images are not automatically rewritten.
* Attachment images hosted through a CDN using a different base URL may not receive a picture source. Originals remain functional.
* Legacy images from older releases (including webp-temp files) are not deleted or migrated automatically.
* Lossless requires Imagick; when unavailable, lossless requests are skipped rather than silently using lossy conversion.
* Requires PHP 7.4+ (version 1.1.0 required PHP 7.2+). Hosts on PHP 7.2/7.3 must upgrade PHP before installing this update.
* Enabling destructive replacement requires a separate deletion-confirmation checkbox at settings save time. Test replacement on staging with a backup first. It changes new upload filenames and MIME types and permanently removes the original for new uploads. Existing images removed by an earlier release can only be restored from an external backup.
* Smoke integration has passed on WordPress 6.7.10 and 7.1.4. WooCommerce, multisite and CDN variants still require testing.

