How to add an image in mdx files
To add an image, add an exclamation mark (!), followed by alt text in brackets, and the path or URL to the image asset in parentheses. You can optionally add a title in quotation marks after the path or URL.
IMPORTANT; there should be no spaces in the image name.
Reference : https://www.markdownguide.org/basic-syntax/#images-1 (opens in a new tab)

Exemple
 if the image file is at the public file root.
 if the image file is in a folder in the public folder..