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!