Reputation: 381
I'm just wondering how AdEven added pictures to the README.md hosted on GitHub without having the pictures in the repo (you can find their GitHub-project here: https://github.com/adeven/adjust_ios_sdk).
The images are hosted under https://raw.github.com/adeven/adjust_sdk/master/Resources/ios/.png and I want to know how to upload the pictures exactly like AdEven.
Thanks and Regards, Sascha
Upvotes: 1
Views: 1092
Reputation: 1
I solved that problem by going to github, in to my repo then creating and issue. In the text box inser the picture you would like to have in your readme.md. When you insert it in the text box it will give you the URL to your image. Simply copy the image url that it provided and insert it to your readme!
Upvotes: 0
Reputation: 20232
if you look at the raw version of the file (https://raw.github.com/adeven/adjust_ios_sdk/master/README.md)
You can see how they do it.
![][drag]
where you want the picture
[drag]: https://raw.github.com/adeven/adjust_sdk/master/Resources/ios/drag2.png
To define the file location.
Just replace the name and the location with your own. The raw
url is direct access into the repo, so GH doesn't apply any formatting.
Upvotes: 2