Skip to content

Instantly share code, notes, and snippets.

@vinkla
Last active Jun 16, 2022
Embed
What would you like to do?

Upload images to GitHub

  1. Create a new issue on GitHub.

  2. Drag-and-drop an image onto the comment field.

  3. Wait for the upload process to finish.

  4. Copy the URL and use it in your Markdown files on GitHub.

Example of uploading image to GitHub's CDN

@nehajeryal
Copy link

nehajeryal commented Feb 9, 2021

Awesome!!! Thanks a ton

@KTibow
Copy link

KTibow commented Feb 13, 2021

What if you accidentally pasted your clipboard content in a PR and the content was an image you copied earlier?

So you already posted your comment? You can delete comments.

@hkraal
Copy link

hkraal commented Feb 13, 2021

What if you accidentally pasted your clipboard content in a PR and the content was an image you copied earlier?

So you already posted your comment? You can delete comments.

No just uploaded it by accident. No real harm done but surely content on the www which I did not intend to upload.

@KTibow
Copy link

KTibow commented Feb 13, 2021

I don't think anybody's going to find it, it's not like it appears on search.

@hkraal
Copy link

hkraal commented Feb 13, 2021

I don't think anybody's going to find it, it's not like it appears on search.

Probably not, but that doesn’t make it right.

@abdelkader
Copy link

abdelkader commented Mar 14, 2021

Even more easily, without even creating an issue. You can just drop the image on this editor( Yes, the one on this page!), and not save the comment..

You can grab the nice url that was generated.

@rhd1703
Copy link

rhd1703 commented May 9, 2021

Thanks!

@rishabdesai
Copy link

rishabdesai commented May 9, 2021

Thank you!

@ManishNetam
Copy link

ManishNetam commented May 13, 2021

Thank you

@tr1ms
Copy link

tr1ms commented May 24, 2021

Thanks man!

@Shan-Mi
Copy link

Shan-Mi commented May 29, 2021

Thanks for showing how to do it!

@J-Zam
Copy link

J-Zam commented Jun 2, 2021

Gracias

@gabrielrochas
Copy link

gabrielrochas commented Jun 10, 2021

💓

@MonHardy
Copy link

MonHardy commented Jun 29, 2021

Awesome! Thanks, dude!

@viktigpetterr
Copy link

viktigpetterr commented Jul 7, 2021

Thanks a lot! 🤩

@serd4r
Copy link

serd4r commented Jul 9, 2021

thanks bro ! 👍

@merv-e
Copy link

merv-e commented Aug 16, 2021

Thank you. This is really helpful

@hulemihi
Copy link

hulemihi commented Aug 29, 2021

Thank you.

@LuisGranadosDC
Copy link

LuisGranadosDC commented Sep 27, 2021

Adding my thanks for a simple solution after several hours of frustration.

@tmjns
Copy link

tmjns commented Oct 17, 2021

best!

@noblekc1987
Copy link

noblekc1987 commented Nov 2, 2021

Superb... Thank you so much 👍

@honorioyangosuntech
Copy link

honorioyangosuntech commented Nov 9, 2021

Wow, this saves me time... Thank you

@Amira-Ali
Copy link

Amira-Ali commented Dec 29, 2021

Wow..Thank you so much!

@Neo42
Copy link

Neo42 commented Jan 5, 2022

holy 💩

@yuis-ice
Copy link

yuis-ice commented Feb 5, 2022

How to remove?

@notshriram
Copy link

notshriram commented Mar 9, 2022

Thanks!

@a-gamq
Copy link

a-gamq commented Mar 21, 2022

Thank you vinkla!

@imSmaity
Copy link

imSmaity commented May 7, 2022

Thanks!

@Zarathustrai
Copy link

Zarathustrai commented May 30, 2022

WhatsApp Image 2022-05-09 at 8 38 09 AM

@Pawax
Copy link

Pawax commented Jun 16, 2022

tron

borne

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