0

I am creating a portfolio using GitHub static pages and I want to display some images of projects completed and finding it difficult to do that. I know the syntax for image display but what I do not seem to get here is where to place image on GitHub and use the path to display it.

syntax for image display

![Alternate image text](image source here)
cameck
  • 2,058
  • 20
  • 32
ade desmond
  • 432
  • 1
  • 8
  • 24
  • Please provide the tool you are using to generate your static site (etc. Hugo, Jekyll, Gatsby etc.). You should be able to just pass the relative link to the file `[Great Image](./images/great-image.png)`. – cameck Jul 15 '18 at 22:13
  • i am using Jekyl what i don't understand is where to upload the image before providing the absolute link – ade desmond Jul 16 '18 at 07:36
  • @ade-desmund I'm not familiar with that platform, but in general you should just be able to add the image to the github repo and pass the relative path to your markdown file. – cameck Jul 16 '18 at 15:51
  • i have done that and passing the path all i get is a broken image file not displaying – ade desmond Jul 16 '18 at 16:25
  • this is the path am using but i do not get any image https://github.com/desmond75/desmond75.github.io/blob/master/img/mobil.PNG – ade desmond Jul 16 '18 at 16:27
  • try this: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#images `![Here is the alt text](https://github.com/desmond75/desmond75.github.io/blob/master/img/mobil.PNG "Here is the Title text")` – cameck Jul 16 '18 at 17:01

0 Answers0