Open markbrouch opened 1 month ago
Resolves https://github.com/nuxt/image/issues/1376
Adds the ability for a full cloudinary url to be used as src instead of relying on baseURL to construct the image url.
src
baseURL
For example:
<NuxtImg src="https://res.cloudinary.com/example/image/upload/example.jpg" />
should use https://res.cloudinary.com/example/image/upload as the baseURL, regardless of what baseURL is configured as.
https://res.cloudinary.com/example/image/upload
This is needed for apps that receive a full cloudinary url from the backend which may be responsible for determining the specific cloud and base url.
See discussion in Discord thread: https://discord.com/channels/473401852243869706/1238298456540577802
Resolves https://github.com/nuxt/image/issues/1376
Adds the ability for a full cloudinary url to be used as
src
instead of relying onbaseURL
to construct the image url.For example:
should use
https://res.cloudinary.com/example/image/upload
as thebaseURL
, regardless of whatbaseURL
is configured as.This is needed for apps that receive a full cloudinary url from the backend which may be responsible for determining the specific cloud and base url.
See discussion in Discord thread: https://discord.com/channels/473401852243869706/1238298456540577802