Adding images to content

Hey! I used GitHub to host my website and coded on GitHub. I wanted to add one image to content. I used:

![Tulip](/static/images/tulip.png)

and I can see this image on the “preview”. However, I can’t see it on my website.

This is that post:
https://luolinlin1201.github.io/Im00_im00/post/photo-flowers/

Here is the GitHub page:
https://github.com/luolinlin1201/Im00_im00/blob/main/content/en/post/photo-flowers.md?plain=1

I added all images to this file named static :wink: Many thanks in advance!!

When generating your site all content from static is copied to your sites root.

Omit the /static when referencing the image

![Tulip](/images/tulip.png)

Hi irkode, thank you very much! I did try, but it didn’t work. I still can’t see the image on my website;(

Your site is single-hosted multilingual so this may affect it:

(And the site is served from a subfolder. So you might try to add your root folder img00…)

Solved by using the mount option from the docs.

Thank you so much irkode! The issue was fixed!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.