Title: Avif Express
Author: Pijush Gupta
Published: <strong>2023 年 1 月 17 日</strong>
Last modified: 2025 年 10 月 5 日

---

搜索插件

![](https://ps.w.org/avif-express/assets/banner-772x250.png?rev=2849582)

![](https://ps.w.org/avif-express/assets/icon-256x256.png?rev=2849582)

# Avif Express

 作者：[Pijush Gupta](https://profiles.wordpress.org/pijush_gupta/)

[下载](https://downloads.wordpress.org/plugin/avif-express.2025.08.29.zip)

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

 [支持](https://wordpress.org/support/plugin/avif-express/)

## 描述

On upload, images like jpg, png and WebP gets converted to avif format. Converted
images get served on web pages.

#### Feature list

 * Images get converted on upload.
 * Bulk convert previously uploaded images.
 * Schedule Bulk convert in the background.
 * Bulk convert theme images.
 * Local Conversion
 * Cloud Conversion (Freemium)
 * Serve Webpage with altered avif images.
 * Fully CDN compatible.
 * Backward compatibility – Browsers that don’t support Avif images will get Original
   images served on-the-fly.
 * Native Language Support for German, Spanish, Russian, French, Hindi and Bengali.

#### Official documentation of Avif Express

For a more detailed description of options and features of Avif Express, please 
read the [official documentation](https://github.com/Pijushgupta/avif-express).

## 屏幕截图

 * [[
 * Setting Page

## 安装

 1. Download and Unzip the file.
 2. Upload the plugin into the `wp-content/plugins/` directory of your WordPress site.
 3. Activate `Avif Express` from plugin page.

## 常见问题

### documentation

Quick documentation [Avif express documentation](https://github.com/Pijushgupta/avif-express)

### How to obtain API key

You can obtain API key from [Avif Express API](https://rapidapi.com/aavoya-aavoya-default/api/avif-express)–
discontinued.

### How to generate avif images from previously uploaded images

Go to “Avif Express” on the left sidebar menu > On the “Avif express” page > Click
on the generate button on “Upload directory” row.

### How to generate avif images from theme’s image

Go to “Avif Express” on left sidebar menu > On the “Avif express” page > Click on
the generate button on “Theme directory” row.

### How to replace web-page’s images with avif images

Go to “Avif Express” on left sidebar menu > On the “Avif express” page > Select 
the mode from the dropdown on “Rendering” row.

## 评价

![](https://secure.gravatar.com/avatar/587bee003d770136c123517537ab0709a7f35acd95aae4bbe962f86228617919?
s=60&d=retro&r=g)

### 󠀁[Good plugin](https://wordpress.org/support/topic/good-plugin-7254/)󠁿

 [Wishlight](https://profiles.wordpress.org/wishlight/) 2025 年 12 月 11 日

Works great with WebP. My GD doesn’t support Avif properly. Works with Nginx.

![](https://secure.gravatar.com/avatar/1d7de348e9e1f716993394b5fb6ef2c1e0361aa2bd114436240f52e158dfe96a?
s=60&d=retro&r=g)

### 󠀁[Works as advertised](https://wordpress.org/support/topic/works-as-advertised-923/)󠁿

 [dogma00](https://profiles.wordpress.org/dogma00/) 2025 年 10 月 12 日

Took a while to realise that you have to turn the rendering on first, though. 😀
Hardly the developer’s fault. But you might want to make that particular setting
a tad bigger maybe? I especially appreciate the possibility for local conversion.
Personally I have no need for the cloud option. EDIT: Unfortunately it doesn’t work
with a static site generator – at least not with Staatic. Possibly related to the
fact that it also doesn’t show avif images if you’re logged in as an admin. Most
of the time this shouldn’t be an issue, though.

![](https://secure.gravatar.com/avatar/bb25aa0f3a1217c87f6d8a2c2a48049fee476b8735437a8488490173230a59b9?
s=60&d=retro&r=g)

### 󠀁[Amazing Plugin](https://wordpress.org/support/topic/amazing-plugin-2785/)󠁿

 [kjcomparaz](https://profiles.wordpress.org/kjcomparaz/) 2025 年 7 月 18 日

I do recommend this plugin, it does what it offer

![](https://secure.gravatar.com/avatar/487b5bc7250732e3dc2bd2ca4ac9ea3e5890f9af42e6d11ef87b74172503edeb?
s=60&d=retro&r=g)

### 󠀁[Good plugin](https://wordpress.org/support/topic/update-any-soon/)󠁿

 [js1200](https://profiles.wordpress.org/js1200/) 2025 年 12 月 19 日

Very good plugin overall however I’ve got small issue with .png image in the logo
of my website. This image is transparent so the plugin converts it to .avif format
and transparency is not preserved. Is this bug?

![](https://secure.gravatar.com/avatar/5e765e4f2237141a267cab2889e99aa69ede0226f1707c146bdb24fe4f11b8a4?
s=60&d=retro&r=g)

### 󠀁[Works fine](https://wordpress.org/support/topic/works-fine-1579/)󠁿

 [Troglos](https://profiles.wordpress.org/troglos/) 2024 年 5 月 31 日

It works pretty fine. Needs some little improvement but overall it works ok.

![](https://secure.gravatar.com/avatar/4c485a16524f42bc4f2f4f13b4f0dc22ee6a42fe669182a6ecdd8d7a1ab96a49?
s=60&d=retro&r=g)

### 󠀁[Ajax error; internal 500](https://wordpress.org/support/topic/ajax-error-internal-500/)󠁿

 [Hendrik57](https://profiles.wordpress.org/hendrik57/) 2024 年 3 月 30 日

The plugin did nothing. I got an ajax error: POST mysite.nl/wp-admin/admin-ajax.
php 500 (Internal Server Error)

 [ 阅读所有9条评价 ](https://wordpress.org/support/plugin/avif-express/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Pijush Gupta ](https://profiles.wordpress.org/pijush_gupta/)

「Avif Express」插件已被翻译至 2 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/avif-express/contributors)
为本插件所做的贡献。

[帮助将「Avif Express」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/avif-express)

### 对开发感兴趣吗?

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

## 更新日志

#### 29.08.2025

 1. Background Image processing
 2. Background Image Scanning for Image processing
 3. Image Lazy loading – Native, JavaScript, Background Lazy loading
 4. Bug fix: – false negative condition for local image conversion. [Issue](https://github.com/Pijushgupta/avif-express/issues/24)
    by [David Degner](https://github.com/ddegner).

#### 01.12.05.2025

1.Improved background replacement logic.
 2.Added image lazy-loading feature. 3.
Bug fix: Fixed image replacement logic for images outside the upload directory.

#### 02.08.2024

 1. Fixed background image replacement bug.
 2. Fixed Imagick version checking bug.
 3. Added file system permission check before writing.
 4. Enabled cloud conversion from localhost.

#### 01.20.06.2024

 1. Removed aviflog(wrapper of monolog), due to php version issue.

#### 19.06.2024

 1. Added cloud conversion for ease of use in case the server doesn’t support AVIF 
    conversion.
 2. Added an option for a fallback image type (WebP/original) for older browsers/webviews.
 3. Added a cookie to notify the server whether to catch pages for browsers that don’t
    support AVIF. (Cookies: browser_avif_support_true, browser_avif_support_false)
 4. Implemented a logging system.
 5. Added system information to display local server capabilities to the end user.
 6. Added on-the-fly AVIF conversion if the server supports it.

#### 28.06.2023

Feature:
 1. Externally added webp images can be served via this plugin on browser
that does not support avif image. note: Image fix name should be same as source.
Bugfix 1. If server is capable of generating webp and not avif, then this plugin
will generate and serve webp images. In case server is not capable of generating
webp and avif both, original image will get served in case no externally added webp
image found. 2. Other small bug fixes.

#### 02.05.11.2023

Bugfix: Image Magic class checking.

#### 05.11.2023

Bugfix: Skipping SVG processing on rendering. Checking server capability to convert
Avif even when rendering is off.

#### 05.07.2023

Backward compatibility – Browsers that don’t support Avif images will get WebP images
served on the fly.
 Bugfix: Images that don’t belongs to the same domain no logger
getting skipped.

#### 03.20.2023

Added translation for German, Spanish, Russian, French, Hindi and Bengali, for backend
Admin dash.

#### 02.27.2023

Issue: Undefined Constant. Fixed. Pointed by [argument](https://wordpress.org/support/
users/argument/,”Bug finder”).

#### 02.26.2023

ImageMagick version checking. Version ‘7.0.25’ or above required.
 Issue: Auto convert
on upload was not working. Fixed : Typo in namespace.

#### 02.25.2023

Issue: php 8.1 or 8.2 with GD with libavif support still creating 0 byte avif images.#
Php_bug. Fixed with Imagick library.

#### 02.23.2023

Issue: Migrated images with post type of attachment were not getting converted. 
Fixed.
 Issue: php 8.1 or 8.2 with GD with libavif support still creating 0 byte
avif images. Not fixed. #Php_bug

#### 01.30.2023

Conflict with Autoptimize plugin fixed.

#### 01.20.2023

Lowered the “Requires at least” wordpress version.
 Updated Description on README.
txt. Code commenting. Added php version checking, require at least 8.1, since imageavif()
method only comes with php8.1 or later. Added method checking for imageavif(), it
prevent ajax error in case Php GD not having libavif. libavif is library required
by GD to convert image to avif image. Note: latest Plesk Obsidian(Version 18.0.49)
with php 8.2 do not provide libavif to GD. No way around.

#### 01.19.2023

Updated FAQ section on README.txt.
 Added Additional file checking on frontend. 
If .avif file exist then only alter the image url.

## 额外信息

 *  版本 **2025.08.29**
 *  最后更新：**8 月前**
 *  活跃安装数量 **400+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.3 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/avif-express/) 、 [Spanish (Chile)](https://cl.wordpress.org/plugins/avif-express/)
   和 [Spanish (Spain)](https://es.wordpress.org/plugins/avif-express/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/avif-express)
 * 标签
 * [AVIF](https://cn.wordpress.org/plugins/tags/avif/)[images](https://cn.wordpress.org/plugins/tags/images/)
   [performance](https://cn.wordpress.org/plugins/tags/performance/)
 *  [高级视图](https://cn.wordpress.org/plugins/avif-express/advanced/)

## 评级

 3.8 星（最高 5 星）。

 *  [  4 条 5 星评价     ](https://wordpress.org/support/plugin/avif-express/reviews/?filter=5)
 *  [  3 条 4 星评价     ](https://wordpress.org/support/plugin/avif-express/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/avif-express/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/avif-express/reviews/?filter=2)
 *  [  2 条 1 星评价     ](https://wordpress.org/support/plugin/avif-express/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/avif-express/reviews/#new-post)

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

## 贡献者

 *   [ Pijush Gupta ](https://profiles.wordpress.org/pijush_gupta/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/avif-express/)