Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faste...
Convert PNG, JPG, GIF and WEBP images to AVIF and speed up your web loading
Images to AVIF is a WordPress plugin designed to convert images in various formats, such as PNG, JPG, GIF, and WEBP, into the AVIF format. This conversion aims to reduce page weight significantly while maintaining image quality, potentially improving website loading speeds and Google rankings. The plugin supports automatic conversion upon image upload and allows bulk conversion of existing images.
It is suitable for developers and site owners looking to optimise their images and enhance performance without altering the original files. The plugin works on different types of WordPress installations and is compatible with both Apache and NGiNX servers.
Best for: This plugin suits WordPress site owners and developers focused on image optimisation and performance enhancement.
What it does well
Where it falls short
Images to AVIF provides a straightforward solution for converting images to a more efficient format, though the lack of user ratings may be a consideration for potential users.
kubiq's own description of Images to AVIF, lightly tidied.
Statistics say that AVIF format can save more than a half of the page weight without losing images quality.
Convert PNG, JPG, GIF and WEBP images to AVIF and speed up your web, save visitors download data, make your Google ranking better.
Install also Images to WebP plugin if you want to have fallback to WebP and then to the original file.
Maybe you want to disable AVIF for thumbnails
add_filter( 'images_to_avif_sizes', 'disable_images_to_avif_sizes', 10, 2 );
function disable_images_to_avif_sizes( $sizes, $attachmentId ){
unset( $sizes['thumbnail'] );
return $sizes;
}
Maybe you want to modify htaccess rules somehow
add_filter( 'images_to_avif_htaccess', 'modify_images_to_avif_htaccess', 10, 2 );
function modify_images_to_avif_htaccess( $rewrite_rules ){
// do some magic here
return $rewrite_rules;
}
Maybe you use roots.io/bedrock or other custom folder structure
add_filter( 'images_to_avif_abspath', 'modify_images_to_avif_abspath', 10, 2 );
function modify_images_to_avif_abspath( $abspath ){
return trailingslashit( WP_CONTENT_DIR );
}
Maybe you want to automatically generate AVIF for other plugins
add_action( 'XXPLUGIN_image_created', 'XX_images_to_avif', 10, 2 );
function XX_images_to_avif( $image_path ){
global $images_to_avif;
$images_to_avif->convert_image( $image_path );
}
Other plugins for optimising images.
Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faste...
Compress and optimize images, enable lazy load, serve WebP & AVIF, and speed up your site with a global im...
Speed up your website by using our WebP & AVIF Converter. Optimize images and serve WebP and AVIF images i...
Duplicate post, post order, image resize, email via SMTP, admin menu editor, custom css / code, disable gutenb...
Image optimization in 1‑click: compress, resize & convert to WebP/AVIF – free up to 20MB/month. Enjoy the...
SpeedyCache is a WordPress cache plugin that helps you improve performance of your WordPress site by caching,...