open-source-badges icon indicating copy to clipboard operation
open-source-badges copied to clipboard

Badges not showing on GitHub Page

Open tajmone opened this issue 3 years ago • 1 comments

I've noticed that on the project's repository the badges images are not showing.

Just thought you might want to know.

tajmone avatar Jun 01 '21 23:06 tajmone

I noticed the same problem. I dug a bit and realized that CloudFlare is restricting the access. The request to an image returns a 403 with:

Access denied | badges.frapsoft.com used Cloudflare to restrict hotlinking Error 1011 Access denied What happened?

The owner of this website (badges.frapsoft.com) does not allow hotlinking to that resource (/os/v1/open-source.png).

A workaround would be to link to GitHub's raw image: https://raw.githubusercontent.com/ellerbrock/open-source-badges/master/badges/open-source-v1/open-source.png

But @ellerbrock you might want to allow this; or change the links in the readme to use GitHub's host. I'd be happy to make a PR if you don't want to allow hotlinking 😄

jazcarate avatar Oct 14 '21 09:10 jazcarate