Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wait for images to load before screenshotting #5028

Merged
merged 1 commit into from
Apr 18, 2018

Conversation

cassiebeckley
Copy link
Contributor

It looks like all images are loaded before the screenshot is taken, but there's a 0.5s transition fading from the low-res image to the high-res image. This PR makes the lambda wait until that fade has happened before taking a screenshot.

Signed-off-by: David Beckley beckl.ds@gmail.com

Signed-off-by: David Beckley <beckl.ds@gmail.com>
@gatsbybot
Copy link
Collaborator

Deploy preview for using-drupal ready!

Built with commit 990b61f

https://deploy-preview-5028--using-drupal.netlify.com

@gatsbybot
Copy link
Collaborator

Deploy preview for gatsbygram ready!

Built with commit 990b61f

https://deploy-preview-5028--gatsbygram.netlify.com

@pieh
Copy link
Contributor

pieh commented Apr 17, 2018

Sorry for previous comment - wrong browser tab :)

@m-allanson m-allanson merged commit ccf4203 into gatsbyjs:master Apr 18, 2018
@m-allanson
Copy link
Contributor

@cassiebeckley cassiebeckley deleted the fix/low-res-images branch April 19, 2018 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants