Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Official image host for GitHub projects?

Tags:

github

image

Whenever I need to include a picture in a GitHub project's README file I usually just stick it in a Screenshots folder and relatively link to it. However this unnecessarily bloats the file size of the project, especially if I include an animated .gif of the project in action.

I've noticed in a couple popular Github iOS projects (like MMDrawerController and JASidePanels) that the images are NOT relatively linked, but rather they exist on a domain I've never seen - "https://github-camo.global.ssl.fastly.net". Navigating to this site directly doesn't work and Google searches bring up nothing. So for my question: is this site affiliated with GitHub, and how does one get his/her images uploaded here? Of course I could always use a generic image hosting service but I'd prefer to use one that has official ties with GitHub (if such a site exists).

https://github-camo.global.ssl.fastly.net

Where is this?

like image 973
lobianco Avatar asked Aug 21 '13 14:08

lobianco


People also ask

Can I host image on GitHub?

GitHub remains one of the most reliable repository website for code, but we can also utilize its storage capability to host images for our website. The easiest way is simply to upload/push image files to your GitHub repo and get the link from the web.

How do I add an image to a GitHub project?

Adding imagesOn GitHub.com, navigate to the main page of the repository. Under your repository name, click Wiki. Using the wiki sidebar, navigate to the page you want to change, and then click Edit. On the wiki toolbar, click Image.

Does GitHub have web hosting?

You can use GitHub Pages to host a website about yourself, your organization, or your project directly from a repository on GitHub.com.


1 Answers

GitHub itself has a "secret" feature to upload images.

I read about this in a comment by GitHub's own Phil Haack:

I edit (or create) an issue and drag it into there and copy the resulting markdown into my post. It's probably an abuse of GitHub issues.

If you do it like this, the image will be stored on some GitHub server, and it will have a URL like this one:
https://f.cloud.github.com/assets/19977/1656110/a3f8b280-5b6d-11e3-818d-c06ab05bd613.jpg

like image 117
Christian Specht Avatar answered Sep 21 '22 23:09

Christian Specht