Images in mdx frontmatter not registering as images #38264
Replies: 1 comment
-
Abort mission; running gatsby clean for the third time in a row somehow magically fixed it .-. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I query an image that's in mdx frontmatter, it returns a string (exactly as it appears in the markdown) instead of the GatsbyImage object.
Query:
The thumbnail returned by the query is "image.jpeg".
However, the image in the body is automatically turned into a GatsbyImage, so the image path is definitely correct.
The images are in the same directory as the mdx file.
My gatsby-config has:
Beta Was this translation helpful? Give feedback.
All reactions