performance icon indicating copy to clipboard operation
performance copied to clipboard

Add AVIF support

Open adamsilverstein opened this issue 3 years ago • 8 comments

Trac ticket: https://core.trac.wordpress.org/ticket/51228

adamsilverstein avatar Nov 29 '21 15:11 adamsilverstein

I noticed WebP checks are in Site Health. Seems like AVIF checks should be too.

jb510 avatar Jul 17 '23 17:07 jb510

I noticed WebP checks are in Site Health. Seems like AVIF checks should be too.

Great suggestion @jb510 - lets open a separate issue for that.

adamsilverstein avatar Jul 18 '23 15:07 adamsilverstein

Came here to say the same as @jb510 - but I can't find any ticket for adding AVIF status checks to Site Health or is this opened in Trac and not here?

Zodiac1978 avatar Mar 07 '24 16:03 Zodiac1978

WordPress 6.5 currently supports the Avif image format, so please update the Performance Lab plugin to support this image format.

phanduynam avatar Apr 03 '24 02:04 phanduynam

Yes i think that we need to tag the [[Plugin] Modern Image Formants] on this ticket, in order to make it compatible with AVIF

benoitfouc avatar Apr 16 '24 16:04 benoitfouc

@adamsilverstein created a plugin that can be a good starting point for this implementation into the Modern Image Formats plugin.

image image https://wordpress.org/plugins/modern-images-wp/

benoitfouc avatar Apr 16 '24 16:04 benoitfouc

I noticed WebP checks are in Site Health. Seems like AVIF checks should be too.

@jb510 - I created this issue to add a health check for AVIF: https://github.com/WordPress/performance/issues/1152

@benoitfouc - thanks for the call out to the plugin, I'm sure I need to update it!

I created a separate issue to add AVIF support to the Modern Image Formats plugin - https://github.com/WordPress/performance/issues/1151 since this ticket was originally about adding AVIF upload support - which we now landed in core!

Speaking of which, since we landed AVIF support in core and we have follow up issues for everything discussed in this ticket, I'm going to close this issue as resolved.

adamsilverstein avatar Apr 16 '24 16:04 adamsilverstein

reopening on second thought, we can leave this open as a tracking issue, it is an Epic after all. Once the other issues are closed we can close this one.

adamsilverstein avatar Apr 16 '24 16:04 adamsilverstein

Closing this out, AVIF has been added to the modern image formats plugin and we are working on <picture> element support as well.

see https://github.com/WordPress/performance/issues/1151

adamsilverstein avatar May 29 '24 15:05 adamsilverstein