question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[gatsby-image] Support image loading with JavaScript disabled

See original GitHub issue

I think that by default, images’ src, srcSet and other attributes should be set to the final displayable image instead of e.g. an image with a width of 20 pixels.

If JS is enabled, change to the preview image immediately until the final image is available.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
kripodcommented, Dec 3, 2017

@aderaaij With Firefox, the base64 / traced SVG image is shown until the original gets loaded.

2reactions
kripodcommented, Dec 3, 2017

I’ll try my best to do so as soon as I’ll have some free time 😊

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gatsby Image plugin
The Gatsby Image plugin includes two components to display responsive images ... One reason for doing so is if you want to enable...
Read more >
Ivan Akulov on Twitter: "A complex part was disabling lazy ...
It's possible to disable it, but that adds `loading="eager"` onto all img tags – which is bad. I ended up patching gatsby-image: ...
Read more >
Create a Medium like Lazy Image Loading Effect Using ...
Create a Medium like Lazy Image Loading Effect Using Gatsby.js in 5 minutes. Ensuring that users get the best experience with images on...
Read more >
How to display newly added image file with gatsby-image?
js file looks like. I'm thinking that the graphql data needs to be somehow refreshed because the new image doesn't even show if...
Read more >
How to improve image loading with Gatsby and ... - Sanity.io
... develop/web/src/lib/image-url.js or somehow I can achieve this “lazy-loading” effect by combining both gatsby-image and sanity/image-url ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found