<SfImage /> convert image format.
Hi.
How to convert image to webp and reduce quality by <Sfimage /> (<nuxt-image/>) from magento backend ?
For example:
I pass that url
https://dev.prod.togas.tech/media/togas/image/banner/Ban1M_1.jpg
and it not work.
If i'am try do the same formatting, but use image from static folder - its works.![No description](https://cdn.answeroverflow.com/1132982017575890974/image.png)
7 Replies
![No description](https://cdn.answeroverflow.com/1132985415712911510/image.png)
https://image.nuxtjs.org/providers/introduction#remote-images I guess this should be the answer, tho I'm not sure
Introduction to providers
Nuxt Image supports multiple providers for high performances.
Ye, i'am already try to find smth in this docs
not sure honestly, it's some config in nuxt image for sure
Inside nuxt config -> baseConfig -> image -> add your domain
(smth like that :
image: {
provider: process.env.NUXT_IMAGE_PROVIDER,
domains: ['domain.com'],
}
)yeah, that should work, but I guess it doesn't right?
i think it's okay, just follow docs