shimmie2
shimmie2 copied to clipboard
Twitter Card Support
I looked at the source of the view page and noticed that some of the metatags needed for Twitter Card embedding of the "Summary with large image" type are already present, albeit as fallbacks using OpenGraph, namely og:title
, og:image
, and og:url
. Using the Custom HTML Headers extension, I added tags for twitter:card
, twitter:site
, twitter:title
, and og:description
, which was enough to have tweets embed thumbnails when linking to a view page. Would it be possible to better integrate Twitter Card support by also adding the native Twitter metatags and possibly generating a second thumbnail closer to the 1 MB image limit?
Relevant docs / validator:
https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/summary-card-with-large-image
https://cards-dev.twitter.com/validator
I'm bumping this as I got a request from users today asking if I could make it so my shimmie install could display images better. Right now it displays like this
Instead of a small picture, it'd be nice if we could have a bigger one. :)