Linux 软件免费装
Banner图

Image Format Converter

开发者 sadathimel
themedot
更新时间 2026年5月27日 23:38
PHP版本: 7.2 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

jpg png webp avif image converter

下载

1.0.0 1.0.1 1.0.3 1.1.0

详情介绍:

Image Format Converter is a powerful, lightweight administrative tool that allows you to easily convert images in your WordPress Media Library to modern formats like WebP and AVIF, as well as standard PNG and JPG formats. By leveraging your server's native PHP image processing libraries (GD or Imagick), this plugin converts images with high quality and optimal compression. With the newly added AJAX-powered engine, you can now select and convert multiple images at once, watch their progress in real-time with an animated progress bar, and see exactly how many kilobytes and storage percentage you saved. Features:

安装:

  1. Upload the image-format-converter folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to Media > Image Converter to start converting images, customize settings, or check your server configuration.

屏幕截图:

  • **Media > Image Converter** with GD/Imagick instructions visible.

升级注意事项:

1.1.0 Introduces AJAX-powered sequential image conversion, multi-select support, and an animated progress bar with bulk savings statistics. 1.0.3 Adds a "Convert Format" link under images in the Media Library list view, and a setting to strip EXIF metadata to save extra storage space in Imagick. 1.0.2 Adds image resizing options, file size savings statistics, and an option to automatically delete original files after conversion. 1.0.1 Added AVIF support and "Image convert complete" message. Ensure AVIF is enabled in GD/Imagick (PHP 8.1+). Compatible with WordPress 6.8. Updated to use unique imgfmt prefix, public GitHub URI, and improved security. Compatible with WordPress 6.8. 1.0.0 Initial release. No upgrades needed.

常见问题:

Where do converted images appear?

Converted images are saved in your uploads folder (e.g., wp-content/uploads/2025/09/) with "_converted" appended (e.g., image_converted.png). If enabled (default), they appear in Media > Library. The success notice shows "Image convert complete" with links to the file and Media Library entry.

Why don’t I see the converted file?

Check the success/error notice on Media > Image Converter. Ensure GD or Imagick is enabled (see library status). Verify the uploads folder is writable (755/644 permissions). Check Media > Library.

What do I do if I see "GD: Not Available | Imagick: Not Available"?

Click the "How to Enable GD and Imagick" button for instructions. Summary:

  • Shared Hosting: Enable "gd" or "imagick" in cPanel/Site Tools under PHP Extensions. Contact support if needed.
  • Local (XAMPP/WAMP/MAMP): Edit php.ini to uncomment extension=gd or add extension=imagick after installing ImageMagick.
  • VPS (Ubuntu/CentOS): Install php-gd or php-imagick, restart Apache.
  • Cloud (AWS, DigitalOcean): Install extensions or contact support.
  • Verify: Use Tools > Site Health > Info > Server or create info.php with <?php phpinfo(); ?>.

Does it support AVIF/WebP?

Yes, if GD (PHP 8.1+ for AVIF, 7.1+ for WebP) or Imagick supports them. Check the library status on the conversion page.

Why don’t the toggle buttons work?

  • Open Developer Tools (F12 > Console) for errors like "jQuery is not defined".
  • Ensure wp-content/plugins/image-format-converter/admin/js/imgfmt-admin.js exists (permissions 644).
  • Deactivate other plugins and switch to a default theme (e.g., Twenty Twenty-Five).
  • Clear browser cache or test in incognito mode.
  • Enable WP_DEBUG in wp-config.php and check wp-content/debug.log.
  • Verify jQuery loads (F12 > Network > JS).
  • In XAMPP, ensure Apache is running and file paths are correct.
  • Contact support with console errors.

Can I convert multiple images?

Yes, you can select multiple images using the media uploader. The plugin will convert them sequentially using AJAX and display a live progress bar.

更新日志:

1.1.0 1.0.3 1.0.2 1.0.1 1.0.0