nuxt / image

Plug-and-play image optimization for Nuxt applications.
https://image.nuxt.com
MIT License
1.28k stars 253 forks source link

loading="lazy" don't work #1343

Closed WooHoo-Wu closed 1 month ago

WooHoo-Wu commented 1 month ago

image

rendered into:

image

loading should be placed before src

Such rendering causes lazy loading to not take effect.

danielroe commented 1 month ago

Yes, this is already resolved in https://github.com/nuxt/image/pull/1338 and will be fixed in the next release.

lceihen commented 2 weeks ago

Yes, this is already resolved in #1338 and will be fixed in the next release.

hi bro, still find this problem at <@nuxt/image 1.7.0>, the next release has include this version ?

danielroe commented 2 weeks ago

No, v1.7.0 includes this fix.