Eidgenössisches Jodelfest 2020

//get image $article_attribs = json_decode($this->item->attribs); $article_images = json_decode($this->item->images); $article_image = ''; if(isset($article_attribs->spfeatured_image) && $article_attribs->spfeatured_image != '') { $article_image = $article_attribs->spfeatured_image; } elseif(isset($article_images->image_fulltext) && !empty($article_images->image_fulltext)) { $article_image = $article_images->image_fulltext; } //opengraph $document = JFactory::getDocument(); $document->addCustomTag(''); $document->addCustomTag(''); $document->addCustomTag(''); $document->addCustomTag(''); if ($article_image) { $document->addCustomTag(''); $document->addCustomTag(''); $document->addCustomTag(''); }