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

NuxtPicture doesn't accept resize in modifiers #1341

Open
avxkim opened this issue Apr 25, 2024 · 0 comments
Open

NuxtPicture doesn't accept resize in modifiers #1341

avxkim opened this issue Apr 25, 2024 · 0 comments

Comments

@avxkim
Copy link

avxkim commented Apr 25, 2024

Nuxt 3.11.2
@nuxt/image 1.6.0

usage

          <NuxtPicture
            class="image"
            :src="src"
            :width="imgWidth"
            :height="imgHeight"
            ismap
            :loading="index === 0 ? 'eager' : 'lazy'"
            :modifiers="{ resize: { width: 200, height: 200  } }"
            preload
            decoding="auto"
          />

has no effect, because my image is size 2000px width and 2000px height, it doesn't resize it to a 200px, 200px

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