SETUP:
Cms Version: 1.11.7
Installed Modules:
AceEditor: 0.2.5
CGExtensions: 1.37.2
CGSimpleSmarty: 1.7
CGSmartImage: 1.12
Captcha: 0.4.6
CustomGS: 1.4
FormBuilder: 0.7.3
GBFilePicker: 1.3.3
Gallery: 1.6.1
ListIt2: 1.4
ListIt2XDefs: 1.2
SEOTools2: 1.2.1
CGCalendar: 1.10.4
ListIt2phoenixgallery: 1.4
I have a summary template in ListIt2:
Code: Select all
<section id="gal-container">
{if $items|@count > 0}
<ul class="gallery-four-col" id="stage">
{foreach from=$items item=item}
{ListIt2Loader item='category' force_array=1 value=$item->fielddefs.categories.value assign='cats'}
<li data-tags="{$cats|implode:','}">
{capture assign='galleryphoto'}{root_url}/uploads/{$item->fielddefs.photo.value}{/capture}
<a href="#"><img src='{$galleryphoto}'></a>
</li>
{/foreach}
</ul>
{/if}
</section>But if I add CGSmartImage to the image like this:
Code: Select all
<img src='{CGSmartImage src="$galleryphoto" filter_croptofit="218,168,c" notag=1}'>If anyone else has found a fix/workaround for this please let me know.
Thanks
Simon66

