• My apologies as I think I am being stupid. I have run the bulk processor and it is showing that’s a lot of images have been converted. However I was assuming that it would automatically show the newly created AVIF images on my website in place of the current JPG ones. Do I actually have to go into each webpage and replace each image with its new version?

Viewing 4 replies - 1 through 4 (of 4 total)
  • It will be automatically replaced through the .htaccess file, you can test this by saving an image from your website and it will show the WebP or AVIF extension.

    Plugin Support tonyrobins

    (@tonyrobins)

    Hello @vaisoco

    Please note that the replacement is done automatically after the conversion, because .htaccess rules CompressX generated will tell the browser to call the newly generated AVIF or WebP, so you don’t need to do extra things.

    Btw, to check whether WebP and AVIF is served, you can follow the steps below:

    1. Right click on the image, click Inspect,

    2. On the console that opens, click Network on the top, then see whether the image type is WebP or AVIF.

    Example screenshot

    All the best,

    Thread Starter vaisoco

    (@vaisoco)

    Thankyou so much for such a quick response.
    1. I I have picked a particular image for testing and it is the picture of the van on https://showersave.previewlab.co.uk/
    Blog file clearly confirms that the image was converted:

    [2024-11-06 11:24:37][notice]Start AVIF conversion:van1.jpg
    [2024-11-06 11:24:38][notice]Converting van1.jpg to AVIF succeeded.

    However the image showing is still showing as van1.jpg

    2. When I run the bulk processor it only processed 219 images, even though the folder tree for the “media” folder shows many more than this.

    Plugin Support tonyrobins

    (@tonyrobins)

    Hello @vaisoco

    You are welcome.

    1. We checked the van image and noticed that it’s already showing as AVIF format. See this screenshot.

    2. Our guess is that the converted versions are larger than original images. In that case, the plugin will automatically remove the converted visions by default. This usually happens when the original jpg/png images have already been compressed before the conversion. You can verify that by unchecking the option ‘Automatic removal of files in output formats larger than the original ones’ in the plugin settings, then perform another optimization.

    However, if it is not the case, we’d be happy to troubleshoot further if you could send us a debug zip through the Debug tab of the plugin. Please also include a link to this thread when you do that for us to track the issue.

    All the best,

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.