{if $page_name =='product'}
<meta property="og:image" content="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'image_facebook')}">
{else if $page_name =='category'}
{if $category->id_image}
<meta property="og:image" content="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'image_facebook')|escape:'html':'UTF-8'}">
{/if}
{else}
<meta property="og:image" content="{$logo_url}">
{/if}