Title: Image Format Converter
Author: Sadat Himel
Published: <strong>2025 年 9 月 24 日</strong>
Last modified: 2025 年 10 月 14 日

---

搜索插件

![](https://ps.w.org/image-format-converter/assets/banner-772x250.png?rev=3367353)

![](https://ps.w.org/image-format-converter/assets/icon-256x256.png?rev=3367361)

# Image Format Converter

 作者：[Sadat Himel](https://profiles.wordpress.org/sadathimel/)

[下载](https://downloads.wordpress.org/plugin/image-format-converter.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/image-format-converter/#description)
 * [评价](https://cn.wordpress.org/plugins/image-format-converter/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/image-format-converter/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/image-format-converter/#developers)

 [支持](https://wordpress.org/support/plugin/image-format-converter/)

## 描述

Image Format Converter allows administrators to convert images in the WordPress 
Media Library between JPG/JPEG, PNG, WebP, and AVIF formats. Using server-side PHP
libraries (GD or Imagick), it ensures high-quality conversions with minimal file
size. Converted images are saved to the uploads folder and optionally added to the
Media Library.

**Features:**
 – Select images via the WordPress media uploader. – Choose target
format (JPG, PNG, WebP, AVIF). – Configure quality/compression and Media Library
integration via a “Conversion Settings” button (admin-only). – View server library
status (GD/Imagick/WebP/AVIF) with a “How to Enable GD and Imagick” button for setup
instructions. – Modern, clean interface inspired by professional design standards(
e.g., TinyJPG-like cards and buttons). – Secure, efficient, and admin-only (no frontend
features).

Access all features on **Media > Image Converter**, with collapsible settings and
instructions.

## 屏幕截图

 * [[
 * **Media > Image Converter** with modern conversion form, toggle buttons, and 
   success notice.
 * [[
 * **Media > Image Converter** with GD/Imagick instructions visible.
 * [[
 * [[
 * [[
 * [[
 * [[

## 安装

 1. Upload the `image-format-converter` folder to `/wp-content/plugins/`.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Navigate to **Media > Image Converter** to convert images, adjust settings, or 
    view GD/Imagick instructions.

## 常见问题

### 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?

Currently supports single-image conversion. Bulk conversion is planned for future
updates.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Image Format Converter」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Sadat Himel ](https://profiles.wordpress.org/sadathimel/)
 *   [ ThemeDot ](https://profiles.wordpress.org/themedot/)

[帮助将「Image Format Converter」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/image-format-converter)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/image-format-converter/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/image-format-converter/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/image-format-converter/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/image-format-converter/)。

## 更新日志

#### 1.0.1

 * Added success message “Image convert complete” after conversion.
 * Added AVIF format support (requires PHP 8.1+ with GD/Imagick AVIF enabled).
 * Updated library check and UI to include AVIF.
 * Updated prefix to `imgfmt` for uniqueness, per WordPress.org review.
 * Set Plugin URI to public GitHub repository.
 * Fixed input validation for security compliance.
 * Ensured compatibility with WordPress 6.8.

#### 1.0.0

 * Initial release with modern UI, collapsible settings, and GD/Imagick instructions.

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**6 月前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/image-format-converter/)
 * 标签
 * [AVIF](https://cn.wordpress.org/plugins/tags/avif/)[image converter](https://cn.wordpress.org/plugins/tags/image-converter/)
   [jpg](https://cn.wordpress.org/plugins/tags/jpg/)[png](https://cn.wordpress.org/plugins/tags/png/)
   [webp](https://cn.wordpress.org/plugins/tags/webp/)
 *  [高级视图](https://cn.wordpress.org/plugins/image-format-converter/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/image-format-converter/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/image-format-converter/reviews/)

## 贡献者

 *   [ Sadat Himel ](https://profiles.wordpress.org/sadathimel/)
 *   [ ThemeDot ](https://profiles.wordpress.org/themedot/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/image-format-converter/)