How can I get the detailed image loop to skip the first detailed image and start the loop with the second detailed image?
On my products page i replaced the thumnail with a revised version of the product_images.tpl where I removed the loop so my first large detailed image is now up where the thumbnail was
My problem is that that first image now appears twice. In my new location
and as the first image in the detailed images area where the unchanged product_images.tpl is used so I want to remove the first image form the detailed images loop and have it start with the second image.
Is this possible?
The code for the detailed images is below.
Code:
{* $Id: product_images.tpl,v 1.7.2.2 2003/06/24 10:43:25 svowl Exp $ *}
{if $images ne ""}
{capture name=dialog}
<div align=center>
{section name=image loop=$images}
{if $images[image].avail eq "Y"}
{if $images[image].tmbn_url}
[img]{$images[image].tmbn_url}[/img]
{else}
[img]../product_image.php?imageid={$images[image].imageid}[/img]
{/if}
{/if}
{/section}
</div>
{/capture}
{if $smarty.capture.dialog ne ""}
{include file="dialog.tpl" title=$lng.lbl_detailed_images content=$smarty.capture.dialog extra="width=100%"}
{/if}
{/if}