Hi,
In Shaper Gazette template, Intro images in joomla articles are not displaying in frontend articles addon. I've searched here and found this article: https://www.joomshaper.com/forum/question/1696
The error reported is similar to what I have: "Warning: Undefined property: stdClass::$image_medium in /homepages/45/d91553272/htdocs/dev3-ptg2025/templates/shaper_gazette/sppagebuilder/addons/articles/site.php on line 216"
And that user suggested a change:
} elseif($article_layout == "horizontal" || ($article_layout == "creative" && $key > 1)) {
$imagesArticle = json_decode($item->images);
$imageIntroURL = htmlspecialchars($imagesArticle->image_intro);
$image = $imageIntroURL;
//$image = $item->image_small;
Although I don't have PHP knowledge, I've tried this and did worked for some images, but not for all.
So I came here asking for help! Can someone share a fix for this that fixes the image thumbnails (grabbed from articles intro image) not only in the horizontal Articles Layout(as it is partially done now), but also in the others - Default, Classic, Simple, etc.
Does seem the template I've bought just a couple of months ago, has an identified problem! (that post has 4 years)
I just need a fix to this to be able to have the intro images working as they are shown in the demo. Can someone help, please?
Site is in dev mode here: https://dev3.portugoal.net/ ...it has the debug mode active so the errors are visible...
Thanks in advance!