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-plugin-image - GatsbyImage not displaying image in IE11

See original GitHub issue

Description

Upgrading from Gatsby-image to Gatsby-Plugin-Image, currently in IE11, it doesn’t seem to be able to display the image with just a blank region. Didn’t find any information on IE11 support or polyfill as this is quite new, assume this is a degradation?

Steps to reproduce

https://github.com/hazuremon/gatsby-bug-repro/ https://eager-saha-ba67b0.netlify.app/ (Open in IE11 will see a blank screen, while seeing an image in all other browsers)

Expected result

What should happen? Display image

Actual result

Briefly shows the lazyload placeholder image before seeing a blank region.

Environment

IE11

Run gatsby info --clipboard in your project directory and paste the output here.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
safesitefacilitiesdevcommented, Mar 28, 2021

If anyone needs a quick and dirty solution to this, I noticed removing ‘position: relative’ from the picture element displays the images in ie11. Doing this with CSS globally, targeting the class the polyfill adds is fairly trivial:

.object-fit-polyfill[style] { position:static !important; }

0reactions
github-actions[bot]commented, Jul 5, 2021

Hiya!

This issue has gone quiet. Spooky quiet. 👻

We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!

Thanks for being a part of the Gatsby community! 💪💜

Read more comments on GitHub >

github_iconTop Results From Across the Web

gatsby-image browser support · Issue #4021 - GitHub
Although everything appears to be wired up correctly, the gatsby-browser.js I've added to gatsby-image does not appear to be working.
Read more >
Gatsby-plugin-image with ie11 briefly flashes placeholder and ...
A similar issue is happening on IOS 8 and below, the placeholder appears and then disappears with no loaded image. Actually, if I...
Read more >
Gatsby Images not showing - Stack Overflow
The images are not being displayed because you are returning an array ( retreatsArray ) in your getRetreats(data) function and, ...
Read more >
GatsbyImage not displaying image in IE11 - Bountysource
Upgrading from Gatsby-image to Gatsby-Plugin-Image, currently in IE11, it doesn't seem to be able to display the image with just a blank ...
Read more >
Gatsby Image
Note: gatsby-image is not a drop-in replacement for <img /> . ... sets up the “blur-up” effect as well as lazy loading of...
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