Peeringdb: Posting https://www.peeringdb.com onto social media doesn't select a good preview image

Created on 29 Jul 2019  路  12Comments  路  Source: peeringdb/peeringdb

Posting https://www.peeringdb.com onto social media normally selects the facebook logo image vs. the PeeringDB image. This is a lost opportunity. The PeeringDB image should be the only (or first) image provided. This can be repeated via other social media platforms or messaging platforms.

image

Minor Outreach

Most helpful comment

If we are going down this path; let's add some more issues that are somewhat related.

Apple icon (should you want to place PeeringDB on your iPhone/iPad screen). See here.

<link rel="apple-touch-icon-precomposed" sizes="57x57" href="/images/apple-57x57.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/images/apple-72x72.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/images/apple-114x114.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/images/apple-144x144.png" />

Twitter/Tweeters read this:

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="PeeringDB" />
<meta name="twitter:description" content="PeeringDB is a freely available, user-maintained, database of networks, ..." />
<meta name="twitter:url" content="https://peeringdb.com/" />
<meta name="twitter:image" content="https://peeringdb.com/images/twitter-whatever.png" />
<meta name="twitter:label1" content="Written by" />
<meta name="twitter:data1" content="Dr Peering" />
<meta name="twitter:label2" content="Filed under" />
<meta name="twitter:data2" content="Please peer with me" />
<meta name="twitter:site" content="@PeeringDB" />
<meta name="twitter:creator" content="@PeeringDB" />

Open Graph (see above); but this is the one I care about:

<meta property="og:image" content="https://peeringdb.com/images/opengraph-whatever.png" />

...etc etc...

All 12 comments

+1

+1

+1 although that FB logo is pretty awesome ;)

Quick glance - Looks like opengraph controls this:
https://ogp.me/

Adding something like:
<meta property="og:image" content="https://peeringdb.com/s/2.14.0//pdb-logo-coloured.png" />

to <head> should do the trick (but I haven't tried)

@mcmanuss8 Yep, should be just that, although probably should use the square logo. Generally it takes some playing around with the opengraph properties to make it look good across different platforms. LinkedIn/Twitter should probably be checked out too.

If we are going down this path; let's add some more issues that are somewhat related.

Apple icon (should you want to place PeeringDB on your iPhone/iPad screen). See here.

<link rel="apple-touch-icon-precomposed" sizes="57x57" href="/images/apple-57x57.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/images/apple-72x72.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/images/apple-114x114.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/images/apple-144x144.png" />

Twitter/Tweeters read this:

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="PeeringDB" />
<meta name="twitter:description" content="PeeringDB is a freely available, user-maintained, database of networks, ..." />
<meta name="twitter:url" content="https://peeringdb.com/" />
<meta name="twitter:image" content="https://peeringdb.com/images/twitter-whatever.png" />
<meta name="twitter:label1" content="Written by" />
<meta name="twitter:data1" content="Dr Peering" />
<meta name="twitter:label2" content="Filed under" />
<meta name="twitter:data2" content="Please peer with me" />
<meta name="twitter:site" content="@PeeringDB" />
<meta name="twitter:creator" content="@PeeringDB" />

Open Graph (see above); but this is the one I care about:

<meta property="og:image" content="https://peeringdb.com/images/opengraph-whatever.png" />

...etc etc...

@peeringdb/pc et al, We need a list of any other icons you'd like added. And what the preview image should be, just a logo?

It looks like we need a square preview image? Then we should use this one.
Icon Logo Coloured

If the preview image is rectangular then use our color logo that we're already using as Steve suggested above.

Can we have the Release Notes pls?

Release Notes

Add opengraph image for page preview.

@grizz should this move to Ready for Implementation?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vegu picture vegu  路  7Comments

grizz picture grizz  路  4Comments

johannesmoos picture johannesmoos  路  12Comments

gordon-shumway-net picture gordon-shumway-net  路  9Comments

mcmanuss8 picture mcmanuss8  路  13Comments