add images to project README on GitHub
The usual markdown syntax applies, e.g.,
![alt text](path/to/file)
add a png image to your gitHub project repo, e.g., in an assets folder just below your root (alternatively , you can set up a separate repo just for images, etc.)
this image must be a versioned file in the git index (add/commit/push, and not excluded in your .gitignore)
once the image is in your repo, click on it from gitHub and then click raw, a button at the upper right of the edit window
copy the URL that appears in your browser bar
place that URL inside the parenthesis for the markdown image link syntax, ie, in your README replace path/to/file above with this URL
(obviously) stage, commit, & push those changes to your README.
Written by doug y'barbo
Related protips
1 Response
Not really sure the image must be a versioned as you can see here
https://github.com/bainternet/Admin-Page-Class
which shows images remotly hosted.
And if you want the image to link then markdown syntax should be
[![Link Title](http://image/url "Image alt")](http://linkto.com)