=== Avif Express === Contributors: Pijush_Gupta Tags: avif, images, performance Requires at least: 6.0 Tested up to: 6.1.1 Stable tag: 2023.02.26 Requires PHP: 5 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Autogenerate avif image on image upload and serve autogenerated Avif images instead of jpeg/png to browsers that supports Avif. == Description == 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. * Bulk convert theme images. * Serve Webpage with altered avif images. * Fully CDN compatible. = Official documentation of Avif Express = For a more detailed description of options and features of Avif Express, please read the [official documentation](https://www.aavoya.co/avif-express "Avif Express official documentation"). == Installation == 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. == Frequently Asked Questions == = 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. == Change Log == = 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. = 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.30.2023 = Conflict with Autoptimize plugin fixed. = 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 = 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.26.2023 = ImageMagick version checking. Version '7.0.25' or above required. Issue: Auto convert on upload was not working. Fixed : Typo in namespace. == Screenshots == 1. Admin Page