Open dfrkp opened 1 year ago
HI, @dfrkp , please follow https://www.gatsbyjs.com/docs/how-to/routing/mdx/ , it will help you to get images from MDX file. If still not fix , please share your code or Production link .
@khaled4dev , thank you for the reply! I have already followed that. Because the issue persisted, I now moved on to ditch gatsby in favor of vike (https://vike.dev/) which also gives me a few other benefits (incl. working images ;) ).
I'm seeing the same issue intermittently and with linkImagesToOriginal: true
I'm seeing even weirder behaviour:
Further to my comment the issue I'm seeing only presents for gatsby develop
when building with gatsby build
it works as expected
Actually running gatsby clean
fixed my issue 👍
Preliminary Checks
Description
I struggled getting images to work in my project so I started from scratch, but inline mdx images are not working there either, hence opening the ticket here.
Reproduction Link
none
Steps to Reproduce
sample.mdx:
Sample gatsby-config:
Expected Result
Image is displayed
Actual Result
Alt text is displayed rather than image
Environment
Config Flags
none