Hi there,
You may try using regular "for" loop which works faster than "foreach" loop ... however in this scenario with an array of size 2 (2 images in the array), you might not see the difference:
<?php
//propage backwards
for($i=sizeof($arr1) ; --$i<=0 ; )
{
echo '<img src="' . $arr1[$i] . '">';
}
?>