I am trying to randomize the array 'Small'
, 'Medium
' and 'Large'
but do not have the point to implement inside my code.
My foreach code:
{foreach $Item->images as $image}
<img src="{$image->Small}" />
{/foreach}
Should I assign at first the arrays and than call them?
Any ideas what else I can use?