Instantly share code, notes, and snippets.

@vinkla /CDN.md
Last active Feb 19, 2019

Embed
What would you like to do?
Upload Images to GitHub's CDN.

Upload Images to GitHub's CDN

First, visit any repository on GitHub and click your way through to the issues page.

Create a new issue by clicking the button New Issue. You'll now see both a title and a description field. Drag-and-drop an image on to the description field. This will start the uploading process.

In our example below we're uploading an image of Marty McFly.

![Uploading marty-mcfly.jpg...]()

Once GitHub is done uploading the image they will automagically add the URL to the description field.

![marty-mcfly](https://cloud.githubusercontent.com/assets/499192/8718466/e58c679c-2ba4-11e5-8e3c-3f9955b810f7.jpg)

Now you can copy the URL and use it in README files, issues or pull requests how ever you like.

@himelnagrana

This comment has been minimized.

Copy link

himelnagrana commented Dec 6, 2017

Awesome and WOWsome!

@roskoff

This comment has been minimized.

Copy link

roskoff commented May 9, 2018

🥇

@balalaXD

This comment has been minimized.

Copy link

balalaXD commented Jun 22, 2018

Sweet

@joernroeder

This comment has been minimized.

Copy link

joernroeder commented Oct 9, 2018

github suggests docs or hidden .github folder in repo root https://help.github.com/articles/about-readmes/

@ohld

This comment has been minimized.

Copy link

ohld commented Dec 2, 2018

WE NEED AN API FOR THAT.

@herrmanthegerman

This comment has been minimized.

Copy link

herrmanthegerman commented Jan 15, 2019

Is there an UI to manage images that a user has uploaded, e.g., so that a user can delete an image?

@prensmiskin

This comment has been minimized.

Copy link

prensmiskin commented Feb 13, 2019

Teşekkürler harika adam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment