Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do images in 'user-images.githubusercontent.com' have expire time?

Tags:

github

I'm servicing a blog using GitHub Pages.

The blog service has many images files to upload, so I needed a repository that stores images.

While searching for a repository, I found a method using github-issues.

I capture my image first and then paste to github-issues body. It will be changed to a markdown image tag that has an image url like:

![image](https://user-images.githubusercontent.com/{path}/{filename})

My question is: does the image stored in githubusercontent.com have an expire time?

If the image has an expire time, it will not appear on my blog later.

like image 721
JoonT Avatar asked Sep 23 '17 00:09

JoonT


People also ask

What is user images Githubusercontent?

And https://user-images.githubusercontent.com/ is used by GitHub to store images added in issues, PR's, etc., Hope it helps! UPDATE: You can also create an assets directory in the root of your repo and use a relative path to the image.

What is camo Githubusercontent com?

To host your images, GitHub uses the open-source project Camo. Camo generates an anonymous URL proxy for each file which hides your browser details and related information from other users. The URL starts https://<subdomain>.githubusercontent.com/ , with different subdomains depending on how you uploaded the image.

How do I add an image to a GitHub comment?

To attach a file to an issue or pull request conversation, drag and drop it into the comment box. Alternatively, you can click the bar at the bottom of the comment box to browse, select, and add a file from your computer. Tip: In many browsers, you can copy-and-paste images directly into the box.

How do I add an image to readme MD?

Just add an <img> tag to your README.md with relative src to your repository.


1 Answers

Okay, Github had a response.

These images can be removed by staff in the event of a Terms of Service violation, however they do not have a set expiration and are not deletable by customers.

Ref: https://github.community/t/does-user-images-githubusercontent-expires/129292

As for the aforementioned Terms of Service, I think it may be found here:
GitHub Terms of Service

like image 134
LianSheng Avatar answered Oct 13 '22 02:10

LianSheng