• Resolved moody1337

    (@moody1337)


    Hey guys,

    is there some way to convert images only to avif? I’m using NGINX and played around with the config you provided in the FAQ, but looks like it’s mandataroy to also convert every image to webp, which in the end menas: for every image I have now three files (avif, webp and the original one). When you now have also additional smaller sizes next to the original one … that’s a lot of files …

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @moody1337,

    Thanks for your message.

    The AVIF format is not supported by some browsers, so you should also have the WebP format, which ensures greater compatibility.

    You can check it out here:
    https://caniuse.com/avif
    https://caniuse.com/webp

    When the browser tries to download an image file, the server checks if it supports the AVIF format (if enabled in the plugin settings). If so, the browser will receive an equivalent of the original image in AVIF format. If it does not support AVIF, but supports the WebP format, the browser will receive an equivalent of the original image in WebP format. If the browser does not support either WebP or AVIF, the original image is loaded. This means full support for all browsers.

    Best,
    Mateusz

    Thread Starter moody1337

    (@moody1337)

    Hey Mateusz,

    thanks for getting back that quickly – I’m aware of the benefits also of using webp and with this approach it might the best out of best solution.

    but still, if somebody – like me – wants to go with “you can get the absolute best with avif or you stick with the mainstream-formats jpg / png while using a not so cool browser”, any chance to convert only to avif and skip the webp-conversion?

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @moody1337 I understand you and just released an update that adds the ability to convert images only to AVIF format, without WebP format. Please download version 4.3.2 and you will be able to do what you want to do.

    Thread Starter moody1337

    (@moody1337)

    Awesome, thanks a lot!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘AVIF only?’ is closed to new replies.