Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support cloudinary urls as src #1361

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

markbrouch
Copy link

Adds the ability for a full cloudinary url to be used as src instead of relying on baseURL to construct the image url.

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.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant