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

Images appear to double up? #1283

Closed
reallymello opened this issue Mar 11, 2024 · 1 comment
Closed

Images appear to double up? #1283

reallymello opened this issue Mar 11, 2024 · 1 comment

Comments

@reallymello
Copy link

reallymello commented Mar 11, 2024

I'm using nuxt-img 1.4.0 and I'm noticing images being doubled when I refresh the page. It seems possibly related to it being used in a <figure> tag. Hosted on Azure static web apps with nuxt 3.10.3.

<figure>
      <nuxt-img
        src="bonsai-tree-pictures/gardenia-aphids.jpg"
        alt="aphids on my gardenia"
      />
      <figcaption>
        Shown here are believed to be cotton aphids on one of my gardenias
      </figcaption>
</figure>

image

@reallymello
Copy link
Author

reallymello commented Mar 13, 2024

Realized there was a tag mismatch because I was putting <figure></figure> inside a <p></p> causing vite render issues

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

No branches or pull requests

1 participant