In components\com_phocagallery\views\category\tmpl\default_images.php
Add after
Code: Select all
// IMG Start
if ($extImage) {
echo JHtml::_( 'image', $value->extm, $value->altvalue, array('width' => $correctImageRes['width'], 'height' => $correctImageRes['height'], 'class' => 'pg-image'));
} else {
Code: Select all
if ($key<10) {
$this->document->addCustomTag('<meta property="og:image" content="http://www.SITENAME.EXT/images/phocagallery/'.$value->filename.'"/>');
}
add after
Code: Select all
$item->linkthumbnailpath = PhocaGalleryImageFront::displayCategoryImageOrNoImage($item->filenameno, 'large');
Code: Select all
$this->document->addCustomTag('<meta property="og:image" content="http://www.SITENAME.EXT/images/phocagallery/'.$item->filenameno.'"/>');
I hope to be helpful.
Kemin