-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Closed
Labels
topic: mediaRelated to gatsby-plugin-image, or general image/media processing topicsRelated to gatsby-plugin-image, or general image/media processing topicstype: upstreamIssues outside of Gatsby's control, caused by dependenciesIssues outside of Gatsby's control, caused by dependencies
Description
Description
I am using the fluid queries within gatsby-image. When using the default loading="lazy"
, I get the following warning inside the console:
[Intervention] An <img> element was lazyloaded with loading=lazy, but had no dimensions specified. Specifying dimensions improves performance. See https://crbug.com/954323
I tried to search for this issue, but only found 2 unanswered questions on spectrum. I am using gatsby 2.15.11 and gatsby-image 2.2.17. As far as I can see the native lazy-loading has been introduced in gatsby-image 2.1.0.
It also appears on https://using-gatsby-image.gatsbyjs.org/
wesbos, micnil, harrygreen, johnnycopes, travisbloom and 29 more
Metadata
Metadata
Assignees
Labels
topic: mediaRelated to gatsby-plugin-image, or general image/media processing topicsRelated to gatsby-plugin-image, or general image/media processing topicstype: upstreamIssues outside of Gatsby's control, caused by dependenciesIssues outside of Gatsby's control, caused by dependencies