github-cards icon indicating copy to clipboard operation
github-cards copied to clipboard

Organization background image cannot be loaded

Open weickmanna opened this issue 6 years ago • 3 comments

Using: https://lab.lepture.com/github-cards/#link-time|medium

This generates:

<div class="github-card" data-github="link-time" data-width="400" data-height="319" data-theme="medium"></div>
<script src="//cdn.jsdelivr.net/github-cards/latest/widget.js"></script>

On the generator page, this background image is shown: https://cdn-images-1.medium.com/max/2000/1*19LWzzJJDPqGq67Vyd0EjQ.jpeg

However, when embedding the card in our page using the above markup, the following, non-existing background image url is used: https://assets-cdn.github.com/assets/modules/aws/aws-bg-80b292690ba587b305c2c038c496ffc8ff08d3bf6be6c1ba64d48bedc09cc36f.jpg

weickmanna avatar Jul 28 '19 10:07 weickmanna

Managed to workaround by using this URL for the widget.js: https://lab.lepture.com/github-cards/widget.js

weickmanna avatar Jul 28 '19 10:07 weickmanna

+1 for this :

.user-card .header {
    background-image: url(https://assets-cdn.github.com/assets/modules/aws/aws-bg-80b292690ba587b305c2c038c496ffc8ff08d3bf6be6c1ba64d48bedc09cc36f.jpg);

And, if i want use a other picture, how make that ? I change my CSS but, i can't appli my modification.

ZerooCool avatar Jun 08 '20 14:06 ZerooCool

Display your Github profile on your site

Official Github repository: https://github.com/lepture/github-cards Example: https://lab.lepture.com/github-cards/#ZerooCool|medium

Rendered on Visionduweb: https://www.visionduweb.fr/blog/13-programmation/71-le-github-de-zeroocool Request: The background image is not displayed: https://github.com/lepture/github-cards/issues/67 How to display this image: https://www.visionduweb.fr/partage/github-card.jpg

Since the HTML integration in the site, I replace the "medium" theme by "default" so as not to encounter the problem of the absence of the image. Too bad, because, the visual rendering with a header seemed interesting.

With the default version, there is a language problem, "" Available for hire. "that I would like in French.

ZerooCool avatar Jun 08 '20 17:06 ZerooCool