[gatsby-remark-images] with withAvif
return wrong "srcSetType" for generated Avif images
#29757
Labels
topic: remark/mdx
Related to Markdown, remark & MDX ecosystem
type: bug
An issue or pull request relating to a bug in Gatsby
Description
[gatsby-remark-images] with
withAvif
return wrong "srcSetType" for generated Avif imagesSteps to reproduce
Develop any gatsby project using gatsby-remark-images with
withAvif
set to true ingatsby-config.js
Expected result
The image
type
should beimage/avif
Image loaded and displayed in all browser that support avif
Actual result
The currently image
type
isimage/jpeg
and image not shown in mobile browser (tested with latest chrome for android) even though the browser support avif, but apparently still shown in desktop browser that support avif
Environment
The text was updated successfully, but these errors were encountered: