Linux 软件免费装
Banner图

Imgzen Media Converter - WebP for CDN

开发者 tKubota
更新时间 2026年7月6日 14:12
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

cdn webp cloudfront image optimization image conversion

下载

0.1.0 0.1.1

详情介绍:

Most WebP plugins break behind a CDN. Plugins that serve WebP conditionally (based on browser support) rely on the HTTP Accept header to decide which format to deliver. CDNs like CloudFront cache responses aggressively — and unless explicitly configured to vary the cache by Accept header, the CDN will serve the same cached format to every visitor, regardless of their browser. The result: your images stay as JPEG even though WebP conversion is enabled. Imgzen Media Converter solves this differently. Instead of conditional serving, it permanently replaces the uploaded image with a WebP version at upload time. The attachment itself becomes WebP — WordPress, your CDN, and your visitors all see one format with no negotiation required. That means zero-configuration CDN compatibility. There is no need to touch CloudFront cache policies, server rewrite rules, or .htaccess delivery logic. Install it, enable it, and new uploads are handled automatically. This makes it the right choice when:

安装:

  1. Upload the imgzen-media-cleaner folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the "Plugins" menu in WordPress.
  3. Configure the plugin from "Settings" > "Imgzen Media Converter".

屏幕截图:

  • Statistics Panel
  • Settings

常见问题:

Is this only useful behind a CDN?

No. Even without a CDN, it ensures uploaded images are always WebP without requiring clients or editors to optimize images before uploading.

Should I back up my site before using this plugin?

Yes. Before using Imgzen on a production site, make sure you have a recent backup of your files and database. Depending on your settings, image conversion and cleanup features may modify or remove image files.

Is image deletion permanent?

Yes. When original image deletion is enabled, JPEG/PNG files and their intermediate sizes are physically removed from the server. This operation is irreversible. Please ensure you have backups before enabling this option.

Why permanent conversion?

Permanent conversion avoids the complexity and storage overhead of keeping two parallel image formats for every upload. WordPress stores one attachment, the CDN caches one file, and the server no longer needs to keep unnecessary JPEG/PNG copies once WebP has been generated successfully. Modern browsers broadly support WebP, so for many production sites there is little practical benefit in retaining duplicate originals after conversion. The result is simpler delivery, smaller storage usage, and fewer moving parts.

Can I see how much storage I saved?

Yes. The dashboard shows the total amount of server storage reclaimed through image optimization and cleanup, making it easy to see the value of the plugin over time.

Which images are skipped?

The plugin skips conversion in the following cases to prevent performance issues or quality degradation:

  1. When the converted WebP file is larger than the original
  2. Files still larger than 15MB after WordPress's standard upload processing
  3. Extremely large dimensions (over 6000px)
Note: WordPress itself scales uploads larger than 2560px down to a "-scaled" copy, and the plugin converts that scaled image. The size and dimension guards are a second line of defense — in practice they mainly apply when the big image threshold has been disabled or customized.

Does this plugin convert existing images?

No. Imgzen Media Converter only processes images at upload time. It does not perform bulk or retroactive conversions.

Which PHP extensions are required?

Imagick with WebP support is recommended. If unavailable, the plugin falls back to the standard GD library.

更新日志:

0.1.1 0.1.0