Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumbnail for CovidGraph.org #5

Open
Jiros opened this issue Jan 16, 2021 · 5 comments
Open

Thumbnail for CovidGraph.org #5

Jiros opened this issue Jan 16, 2021 · 5 comments
Assignees
Labels
Type: Bug Something isn't working

Comments

@Jiros
Copy link

Jiros commented Jan 16, 2021

Hi Jakob

Is it possible to change the thumbnail image on the website when it gets shared on social media? At the moment the Cord-19 screenshot is used (at least by LinkedIn).

cg org-newpost
cg org-li

@Jiros Jiros added the Type: Bug Something isn't working label Jan 16, 2021
@amorgner
Copy link
Collaborator

I think we need to set the following Open Graph meta tags:

<meta prefix="og: http://ogp.me/ns#" property="og:title" content="{Your content}" />
<meta prefix="og: http://ogp.me/ns#" property="og:type" content="{Your content}" />
<meta prefix="og: http://ogp.me/ns#" property="og:image" content="{Your content}" />
<meta prefix="og: http://ogp.me/ns#" property="og:url" content="{Your content}" />

Let me see what I can do.

@amorgner amorgner self-assigned this Jan 16, 2021
@amorgner
Copy link
Collaborator

amorgner commented Jan 16, 2021

This is now set. I'm not sure which image to show.

<meta prefix="og: http://ogp.me/ns#" property="og:title" content="CovidGraph Website" />
<meta prefix="og: http://ogp.me/ns#" property="og:type" content="website" />
<meta prefix="og: http://ogp.me/ns#" property="og:image" content="https://covidgraph.org/img/content-img/Schema_v1.1_no_logo.png" />
<meta prefix="og: http://ogp.me/ns#" property="og:url" content="https://covidgraph.org" />		

You can test with https://www.linkedin.com/post-inspector/inspect/https:%2F%2Fcovidgraph.org.

@Jiros
Copy link
Author

Jiros commented Jan 19, 2021

Thanks @amorgner We spoke about it briefly at today's meeting and agreed to simply use a screenshot of the home page. @jlaenge will take care of it.

@jlaenge
Copy link
Collaborator

jlaenge commented Jan 19, 2021

Hi @Jiros ,
this is how the preview looks like in the linkedIn inspector
image
What do you think?

@Jiros
Copy link
Author

Jiros commented Jan 19, 2021

Looks good to me. Thanks Jakob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants