Simplex Image slider [CMSMS 1.11.4 “Fernandina”]
Posted: Tue Jan 21, 2014 6:28 pm
Hello all,
On one of my sites I'm using the Simplex slider.
I'm trying to figure out what the criteria are for it to show images and in wich order they appear.
I really can't find any logic. It displays always the same image first.
Does anyone know a way to set it up to show it ascending on filename?
The code I'm using is:
I'm also trying to get it displaying images with both .jpg and .JPG extensions. Anyone?
Thanks a lot in advance!
On one of my sites I'm using the Simplex slider.
I'm trying to figure out what the criteria are for it to show images and in wich order they appear.
I really can't find any logic. It displays always the same image first.
Does anyone know a way to set it up to show it ascending on filename?
The code I'm using is:
Code: Select all
{strip}
{assign var='teaser' value='uploads/images/teaser/*.jpg'|glob}
{foreach from=$teaser item='one'}
{if $one|strpos:'thumb_' === false}
<div><img src='{root_url}/{$one}' width='970' height='500' alt='' /></div>
{/if} {/foreach}
</div>
Thanks a lot in advance!