Skip to content
Discussion options

You must be logged in to vote

On a second look the issue is quite clear: You're using <GatsbyImage /> incorrectly.

It doesn't expect an array of gatsbyImageData but only gatsbyImageData. If you want to have art direction you'll need to use: https://www.gatsbyjs.com/docs/reference/built-in-components/gatsby-plugin-image/#withartdirection

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Isaac-Tait
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Isaac-Tait
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
topic: media Related to gatsby-plugin-image, or general image/media processing topics
2 participants