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

Configuring @nuxt/image in Nuxt causes Avatar to incorrectly construct external image URLs #3763

Open
medz opened this issue Apr 1, 2025 · 2 comments
Labels
bug Something isn't working triage v3 #1289

Comments

@medz
Copy link

medz commented Apr 1, 2025

Environment

Is this bug related to Nuxt or Vue?

Nuxt

Version

3.16.2

Reproduction

Description

component

<UAvatar
   src="https://example.com/image.ong"
   class="size-12 shrink-0 translate-y-5"
/>

nuxt.config.ts

image: {
    provider: "aliyun",
    format: ["webp", "png"],
    densities: [1],
  },

Preview image
Image

Additional context

No response

Logs

@medz medz added bug Something isn't working triage v3 #1289 labels Apr 1, 2025
@benjamincanac
Copy link
Member

Does this happen only with the Avatar component or also when using NuxtImg component?

@medz
Copy link
Author

medz commented Apr 8, 2025

@benjamincanac Thanks for the reminder, the same thing happens with NuxtImg and NuxtPicture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage v3 #1289
Projects
None yet
Development

No branches or pull requests

2 participants