Can someone help please. I having big problem that SmartImage is not accepiting variables when I enable Smarty Caching. I get this errors.
But if login in the backend everything is working on the site.
Do SmartImage work with Smarty Caching and how much does it make a diffent when turn on Smarty Caching?
Its does say may interfere with the behaviour of some modules.
Thank you
Cheers
Code: Select all
Could not find a file at: images/staff/ in
/home/backdrop/public_html/modules/SmartImage/action.default.php
on line
44
This I trying use in LISE
Code: Select all
{SmartImage class="rounded-circle" src1="images/staff/" src2=$item->picture_person alt={$item->title} }
and tried
{SmartImage class="rounded-circle" src1="images/staff/" src2={$item->picture_person} alt={$item->title} }
This I trying use in CGCalendar
Code: Select all
{if isset($event.fields)}
{foreach $event.fields as $fieldname => $fieldrec}
{if $fieldname == "Image"}
{assign var="cal_image" value=$fieldrec.field_value}
{/if}
{if $fieldname == "Image description"}
{assign var="cal_des" value=$fieldrec.field_value}
{/if}
{/foreach}
{/if}
{SmartImage src={$cal_image} alt={$cal_des} filter_croptofit="300,150" }
/code]