How to add Images in the Others page ?? #1990
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I'm not sure what you mean by the full path, but you supply the path relative to the root of the repository (i.e., |
Beta Was this translation helpful? Give feedback.
-
I am not using portfolio page, but i thought that it shouldn't have mattered. I have tried multiple things for embedding images in the webpage.
The image shows up well in the md page. But not on the website. |
Beta Was this translation helpful? Give feedback.
-
Can't we use markdown to show the picture at blog? |
Beta Was this translation helpful? Give feedback.
I appreciate the pathing can be a bit confusing, but the reason I mentioned the _portfolio directory because those are examples of how images need to be referenced. If you add the images to the
/images/
directory of you repository then the correct path for the image will be (note the/images/
directory is included):You can see that I also do this with my own website, such as in this example. The reason you need to do this is to ensure that images are served relative to your website (i.e., https://tushaarkataria.github.io) not relative to https://github.com/tushaarkataria/tushaarkataria.github.io which is a form of hot-linking. Indeed, if you try to go to h…