Fallback and SVG support for NuxtImg? #1574
IvanhoeGrozni
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to add fallback support for NuxtImg, so if AVIF doesn't work in a browser, WEBP is displayed instead?
Also, if I set the default format in the default IPX provider config like this:
then I cannot override the format for SVG images, which I want to stay SVG (if I try to set
<NuxtImg format="svg" ... />
it converts it to JPG, which seems to be the default if a format string is not recognized).Beta Was this translation helpful? Give feedback.
All reactions