You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I'm currently thinking of using the avif format for my the Images in my project, but since avif has still quite some incompatible browsers I'd like to fallback to webp or even lower if it is not supported. Does NuxtImage or anything under the hood check if the selected format is supported by the browser requesting it?
My other goto would be doing a composable checking if avif is supported, and if so, use avif, else webp.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there, I'm currently thinking of using the
avif
format for my the Images in my project, but since avif has still quite some incompatible browsers I'd like to fallback to webp or even lower if it is not supported. Does NuxtImage or anything under the hood check if the selected format is supported by the browser requesting it?My other goto would be doing a composable checking if avif is supported, and if so, use avif, else webp.
Beta Was this translation helpful? Give feedback.
All reactions