Closed dmotan closed 3 years ago
It turned out that when I provide the image schema like this
image: url: String modified: String
It does not work, however, when I don't provide the schema, it yells on it Object 'image': Better provide a schema!
but it works and I can access the image using the gatsby-plugin-image
.
Any idea why this is happening?
The plugin works fine with
gatsby-image
, but as you may know,gatsby-image
is now deprecated and replaced withgatsby-plugin-image
. Images are being downloaded but they are inaccessible.image { local { childImageSharp { gatsbyImageData } } }
returns null always.