OK. So maybe you can help me with og:description How can I get the page description?
As for og:image I believe there is a simple way to do it using PHP echo. My problem is I don't know how to code in PHP. But it should be dead simple.
If we look at file BxPhotosPageView.php we see this :
function getBlockCode_SocialSharing ()
{
$sUrl = BX_DOL_URL_ROOT . $this->oConfig->getBaseUri() . 'view/' . $this->aFileInfo['medUri'];
$sTitle = $this->aFileInfo['medTitle'];
$sImgUrl = $this->oSearch->getImgUrl($this->aFileInfo['Hash'], 'file');
bx_import('BxTemplSocialSharing');
$sCode = BxTemplSocialSharing::getInstance()->getCode($sUrl, $sTitle, array (
'img_url' => $sImgUrl,
'img_url_encoded' => rawurlencode($sImgUrl),
));
return array($sCode, array(), array(), false);
}
Thanks for your help.