Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51228, comment 42


Ignore:
Timestamp:
07/07/2023 03:08:34 PM (20 months ago)
Author:
nickpagz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51228, comment 42

    initial v1  
    1111
    1212Having said that, the PR by @adamsilverstein works great for "SDR" AVIF's, is a leap ahead of webp's in terms of quality and size of images, and should be merged into core as soon as possible, imo. This would allow you to still use your "HDR" images on your site, but you'd have to be careful to always display the original image in your content (vs having WordPress or your theme use one of the thumbnail/generated sizes). There's different ways to do this. Similarly, you wouldn't want your image CDN to serve manipulated versions either.
     13
     14EDIT:
     15A quick comment on browser support. While caniuse shows good coverage for AVIF's, these are mostly for "SDR" AVIF's. For example, Safari shows support, but HDR's display very poorly. Not too long ago the HDR's wouldn't display at all. So if you do plan to use HDR AVIF's on a site, you need to figure out a fallback image to display, or be happy with either nothing displaying, or a poor version of the intended image.