TheBigK
Well-known member
Code:
<xen:if is="{$avatar}"><meta property="og:image" content="{$avatar}" /></xen:if>
<meta property="og:image" content="{xen:helper fullurl, @ogLogoPath, 1}" />
I want to replace @ogLogoPath with the URL of first image attached in the post. Is there any way to do that?
I think it will help in letting Facebook pick up the attached image instead of the avatar or default logo.