Uploading my webp image | WordPress.org

[ad_1]

Hi,

Thank you for reaching out.

If you’ve already created your own WebP version of an image and want to replace the one Imagify generated, here are a few points to keep in mind:

  1. File Naming and Compatibility: Imagify typically names WebP images in a .jpg.webp format to ensure smooth fallback to the original format. Uploading a WebP file directly may not integrate seamlessly with the <picture> tag Imagify generates, as the plugin’s conversion structure won’t detect your manually uploaded WebP files the same way.
  2. Selective Exclusion from Next-Gen: If there are just a few specific images you’d prefer to keep as is, you can add a custom HTML class to prevent them from being displayed in Next-Gen format:
    • For WebP, use imagify-no-webp
    • For AVIF, use imagify-no-avif

This way, Imagify will skip optimization for these images, while still converting others.

Hope this helps.

Best regards,
Saransh

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer