I am trying to get FB to show the image from an entry when sharing, instead of showing a random image from the entire page. I know I need to tell FB where to find the image, but nothing I’ve tried has worked. This is my current iteration (yes, it’s from EE1.73, but I have the same problem on EE2.x sites):
{exp:weblog:entries weblog="{master_weblog_name}"}
<meta property="og:url" content="{title_permalink=v2_5/comments}" />
<meta property="og:type" content="article" />
<meta property="og:title" content="{title}" />
<meta property="og:description" content="{body}" />
<meta property="og:image" content="{path='{trimmed_url}'/ee/images/uploads/'{post_image}'}" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
{/exp:weblog:entries}The site is westportnow.com
HELP! And thank you. Lee
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.