Have a small (and I hope simple) question.
I edited the Simplex template so that I can upload new images to the "teaser" document wich then will show in the slider.
CMSMadeSimple generates automatic thumbnails. Is there a way to prevent the slider to show images with "thumb" in their name?
Code: Select all
<div class='banner-image cf'>
{strip}
{* you do not need a module for every simple site functionality. For example you can build a simple slideshow
with php glob function (http://www.php.net/manual/en/function.glob.php) without wasting your system resources
by using modules or plugins.
Below would search for files matching .jpg in folder named teaser in simplex theme folder *}
{assign var='teaser' value='uploads/images/teaser/*.JPG'|glob}
{foreach from=$teaser item='one'}
<div><img src='{root_url}/{$one}' width='300' height='175' alt='' /></div>