Lack of interest why facebook share doesn't see images included in the post

Ahmed Saleh

Hello ,
when i try to Share any Thread contains Images , facebook ignore them all and show only the users avatars .
this happens here as well .

is this require certain update or add-on or something ?

Chris D

XenForo developer
Staff member
This is the template code that pertains to Facebook open graph meta data and images:

<xen:if is="{$avatar}"><meta property="og:image" content="{$avatar}" /></xen:if>
<meta property="og:image" content="{xen:helper fullurl, @ogLogoPath, 1}" />

Default behaviour means you have two choices, either the avatar of the person sharing or the image as specified by Style Properties.

See the problem is, Facebook doesn't actually look at the content of your page, it has to be told what's on it.

Common misconception that Facebook actually looks at the content and makes the post based on that.

Look at the code for this very page:

<meta property="og:site_name" content="XenForo Community" />
<meta property="og:image" content="" />
<meta property="og:image" content="" />
<meta property="og:type" content="article" />
<meta property="og:url" content="" />
<meta property="og:title" content="why facebook share doesn't see images included in the post" />
<meta property="fb:app_id" content="146201428725181" />
This is information specifically fed to Facebook via the meta tags.

There is one solution that might help... let me track it down.


Yep, check out this post from Jake Bunce:

Or this post from Mutt:

These both override the default behaviour in different ways.

Mutt's may be closer to what you're after.