Skip to content

Instantly share code, notes, and snippets.

@vinkla
Last active December 14, 2024 07:25
Show Gist options
  • Save vinkla/dca76249ba6b73c5dd66a4e986df4c8d to your computer and use it in GitHub Desktop.
Save vinkla/dca76249ba6b73c5dd66a4e986df4c8d to your computer and use it in GitHub Desktop.

Upload images to GitHub

  1. Create a new issue on GitHub.

  2. Drag an image into 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

@Stef-00012
Copy link

searchActionHandlers

@abdelkader
Copy link

NO NEED to save images... just drop a get the images address instantly!

@abdelkader
Copy link

NO NEED to save images... just drop a get the images address instantly!

@konacurrents
Copy link

this isn't working anymore for me

I've loved this feature, but it seems as of April 2023, Git changed things and now the images are wrapped so only members of that repository are allowed access. Something with assets in the path.

eg: Now:
https://github.com/konacurrents/konacurrents/assets/5555/5b9fa87a-7d62-4c9d-9108-fde9abd433c9)

vs: what all described here shows:

https://user-images.githubusercontent.com/5555/long-uuid.JPEG

Anyone have more info on what seems a major change (but of course for security..)

@richard-hurley
Copy link

IrisDataDisplay

@djangodissilent
Copy link

image
image

@capahdan
Copy link

capahdan commented Jun 5, 2023

ERD

@Driftzx
Copy link

Driftzx commented Jun 8, 2023

wallpaperflare com_wallpaper (2)

@Rocha1313
Copy link

imagem-criada-no-imagen-prototipo-do-google-que-cria-imagens-baseadas-em-texto-neste-caso-um-cachorro-corgi-andando-de-bicicleta-na-times-square-usando-oculos-de-sol-e-chapeu-de-praia-1653397634334_v2_900x506

@Gabriel-Sous-a
Copy link

istockphoto-1060006698-612x612

@adisuyash
Copy link

Krishna Ji

@dev-ajras
Copy link

logo

@Dbhardwaj99
Copy link

banner

@Dbhardwaj99
Copy link

AMAZON-AWS-CLOUD-ENGINEER-2

@Dbhardwaj99
Copy link

tumblr_outwxnanpp1u79o2lo1_1280

@WalterSmuts
Copy link

image

@Kartonaa
Copy link

U0ntitled-2

@Kartonaa
Copy link

Untitle0d-3

@Kartonaa
Copy link

Untitled-03

@TheCyberWatchers
Copy link

Untitled-2

@GamebP
Copy link

GamebP commented Jul 18, 2023

nickeh30

@Dbhardwaj99
Copy link

Screenshot 2023-07-27 at 2 27 10 PM

@sumitsingh6
Copy link

image

image

image

image

image

@sumitsingh6
Copy link

image

image

image

@konacurrents
Copy link

IMG_5852

Strange, when I do this in 2023 to my private repositories, there is no jpg link - but rather an indirect link that only lets those with permission to see the image. That changed this year as far as I can tell (and it's kinda unfortunate.) I guess I can make things public to get the link and private for the writeups.

@cac4444
Copy link

cac4444 commented Aug 13, 2023

GODdamn

@cac4444
Copy link

cac4444 commented Aug 14, 2023

ezgif-4-ee46f9d821

@nehrakln07
Copy link

Screenshot 2023-08-15 at 2 26 36 AM

@ooanishoo
Copy link

2023-08-22 at 7 55 pm

@ooanishoo
Copy link

2023-08-22 at 8 04 pm

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