Hi!
Please tell me the code that would set the thumbnail of the current image category for the image tag?
For example:
I know I need to edit the file /components/com_joomgallery/views/category/tmpl/default_subcategories.php, but I don't really understand programming. I've done everything except the image.
Code
// Microdata Open Graph
$document = JFactory::getDocument();
$document->addCustomTag('<meta property="og:url" content="'.JURI::current().'">');
$document->addCustomTag('<meta property="og:type" content="website">');
$document->addCustomTag('<meta property="og:locale" content="ru_RU">');
$document->addCustomTag('<meta property="og:site_name" content="My Site">');
$document->addCustomTag('<meta property="og:title" content="'. $this->category->name .'">');
$document->addCustomTag('<meta property="og:description" content="'. $this->category->metadesc .'">');
I need only <meta property="og:image">
Thanks