Images not showing (GitHub Pages)

Hello,

I’ve read a few support results related to images, read through various Hugo docs, and tried a few different things, but I am still having an issue getting my post image(s) to be visible with GitHub Pages. I am assuming it may have something to do with my directory/subdirectory structure (including the way it changes between the repo and the published site), as well as potentially with the way it is linked (referenced) in my getting-started.md. As it does preview correctly in GitHub, but not the published site. However, I have not been able to figure it out.

Just including the link to my GitHub page as well: Getting Started – Cosy Codes

Any help is appreciated. Thanks!

Megan

Hugo renders your getting started page to subfolder https://m-pent.github.io/cosycodes/posts/getting-started/index.html

Your image are in https://m-pent.github.io/cosycodes/posts/images

To go from the page to the image you will have to move one folder up [desc](../images/selfie.jpg)

And yes it won’t show in gihub.

1 Like

Thanks so much! This fixed it.

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