You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default (IPX) provider works as expected for NuxtImg the component, but there are several issues with placeholders when using cloudinary as the provider.
The default (without any params) placeholder prop shown in the docs should respect the original image ratio, but does not, always requesting a 10x10 image.
<!-- Automatically generate a placeholder based on the original image -->
<nuxt-img src="/nuxt.png" placeholder />
Adding the placeholder prop to a NuxtPicture component does not work at all. No placeholder is being requested in the network tab. Edit: This is a general issue and unrelated to the Cloudinary provider. See Placeholder for NuxtPicture #1160
Issue
The default (IPX) provider works as expected for
NuxtImg
the component, but there are several issues with placeholders when using cloudinary as the provider.placeholder
prop shown in the docs should respect the original image ratio, but does not, always requesting a 10x10 image.<!-- Automatically generate a placeholder based on the original image --> <nuxt-img src="/nuxt.png" placeholder />
Request URL:
https://res.cloudinary.com/[...]w_10,h_10[...]/cld-sample-4.jpg
placeholder
prop to aNuxtPicture
component does not work at all. No placeholder is being requested in the network tab. Edit: This is a general issue and unrelated to the Cloudinary provider. See Placeholder for NuxtPicture #1160Repro for both issues
https://stackblitz.com/edit/github-g1qxse?file=app.vue
FYI: Once the bug has been confirmed by a maintainer, I'll try to submit a PR.
The text was updated successfully, but these errors were encountered: