>>Any idea what Iβm doing wrong? This message doesn’t always mean something is wrong, but means that a test request from the site to itself (loopback) doen’t work. In that case, this warning is shown. This can be caused by many reasons (firewall, wrong siteurl, running within docker etc).
>>Any chance you might add GD: AVIF image support in the future? Yes, in fact we have already tried AVIF with GD, but on most platforms: AVIF conversion with GDlib doesn’t really seem to work – despite GDlib seems to offer support, and the imageavif method exists. So we’ve not added AVIF conversion with GDlib to our plugin yet. But we will likely do that in the future.
This message doesnβt always mean something is wrong
Any thoughts on how I can work out what might be causing it on my site, so I can confirm it’s not an issue? Also if it’s not a problem, would it be possible to add an option to dismiss the warning?
Yes, in fact we have already tried AVIF with GD
Awesome! I asked my host to update ImageMagick and was told I’d need to upgrade my hosting… doh! However I’m running PHP 8.1 which has GD: AVIF image support.
I added support for GDlib/AVIF to the plugin, but this will still not work in some distributions by default (I tested Debian 11) without recompiling gdlib manually. GDlib seems to support avif (the imageavif function exists) but generates always a file of 0 bytes. However on Alpine and maybe other distributions it should work.