if “Load WebP or AVIF in supported browsers?” is on, .png files with transparency will loose that transparency in browsers that support AVIF due to a recent technical change in Shortpixel’s AVIF toolchain.
Shortpixel is looking at alternative solutions, but until then as a workaround you can either:
add .png to Autoptimize’s lazyload exclusion field
or to use below code snippet to disable AVIF images;
Last Sunday-evening while making the beds, listening to Charlotte Adigéry’s very enjoyable radioshow on Stubru, I heard “At last I Am Free”. Turns out Robert Wyatt actually covered this pretty uncharacteristic Chic-song, but I prefer his version:
A song I Shazammed twice in the last couple of days when hearing it on PBB and which I’ve just now listened to 5 times already as it really is that intense, angry, chaotic, poetic and … well, good? The video is pretty great as well! Black Country, New Road – ‘Science Fair’
Black Country, New Road - 'Science Fair' (Official Video)
PSA: WordPress 5.6 changes the filename of jQuery core. If you’re using Autoptimize and you have jQuery excluded (which is default) you will want to update your JS optimization exclusion list from js/jquery/jquery.js to js/jquery/jquery.min.js.
Update: Autoptimize 2.8 will automagically fix this, urgently looking for some testers to download https://github.com/futtta/autoptimize/archive/beta.zip (make sure 2.7.8 is disabled when enabling the beta). If all goes well and I get some confirmation the update (which has a lot more then just the fix) will go out today!
Update2: AO28 was released, all is (or should be) OK now :)