Hi, I'm on SPPB4, template Maestro.
I created an overide for sppsagebuilder/addons/articles/site.php
I have to use the image into a
$output .='<div style="background-image: url("./'.$mythumbnail.'");">ABWW</div>';
My url is l'url /demo3/images/2022/12/30/XXX.jpg
When I get on the site page, the code turns into "<div style="background-image: url(" .="" demo3="" images="" 2022="" 12="" 30="" XXX.jpg");"="">
What can I do ?
ps ; I was simply hoping
$output .='<div style="background-image: url("' . ($default_placeholder && $page_view_name != 'form' ? $default_placeholder : $image) . '");">ABWW</div>'; could possibly do it but it didn't.