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

Prevent outputting contentful image url with dimensions greater than 4000px #3398

Closed
wants to merge 2 commits into from

Conversation

baseten
Copy link

@baseten baseten commented Jan 3, 2018

Although not documented, it appears that the contentful image API returns errors when the requested height or width exceed 4000px

@gatsbybot
Copy link
Collaborator

gatsbybot commented Jan 3, 2018

Deploy preview ready!

Built with commit 4b6d96f

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

@baseten baseten closed this Jan 3, 2018
@baseten baseten reopened this Jan 3, 2018
@baseten
Copy link
Author

baseten commented Jan 4, 2018

fixes #3409

@baseten
Copy link
Author

baseten commented Jan 4, 2018

This needs further work to test whether the combination of width and height will produce dimensions that are too large

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants