Page MenuHomePhabricator

Banners are used as the illustration when shared on social media websites such as Facebook
Closed, ResolvedPublic

Description

Social network like Facebook often show the first picture of a page as an illustration of the shared link.
Banners, due to their shape, might not be good illustrations.
Maybe there is a way to prevent the banner being used as an illustration if other images on the page fit better.

Event Timeline

Nicolas_Raoul raised the priority of this task from to Low.
Nicolas_Raoul updated the task description. (Show Details)
Nicolas_Raoul subscribed.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

For instance my website http://CmisSync.com uses

<meta property="og:image" content="http://cmissync.com/images/og_img.png" />

to tell Facebook what image it should use for previews.

We should use og:image for this.
Note this is a bigger problem outside the scope of GSoc - see bug T32113

Jdlrobson renamed this task from Check how banners change the way article previews appear on social networks to Banners are used as the illustration when shared on social media websites such as Facebook.Sep 16 2015, 12:09 AM
Jdlrobson set Security to None.

Change 334789 had a related patch set uploaded (by Ladsgroup):
Add PageImage OpenGraph tag

https://gerrit.wikimedia.org/r/334789

Change 334789 merged by jenkins-bot:
Add PageImage OpenGraph tag

https://gerrit.wikimedia.org/r/334789