Hi, I am sure I have searched this up before but what code change is required to get the calendar image attribute to output on the event detail page?
The image alt tag appears in the code as required but I can’t get the image to output.
This is what I used to use
<?php
$img = $event->getAttribute('event_large_image');
if ($img) {
$tag = Core::make('html/image',
array($img))->getTag();
$altText = $img->getTitle();
$tag->alt(h($altText));
echo $tag;
}
?>
I have searched this up but have failed to resolve this.
I tried to apply what was discussed here but can’t seem to get it to work.
https://forums.concretecms.org/t/concrete-9-0-rc3-image-thumbnail-not-displaying-on-page/930
Thanks in advance