[solved] Cataloger Image Array - Exclude First Image
Posted: Wed May 21, 2008 6:32 pm
Hi Guys,
In the Cataloger module, I am using this template as my Item-CSS-Based Template:
As you can see, I'm showing off a large image on top by calling $image_1_url, and then listing the thumbnails as an array below.
The problem with this, is that it shows $image_1_url twice. The main large image, and then the first image in the array.
My Question:
Is there a way to exclude $image_1_url from the loop=$image_url_array?
I'm no programmer, but I am guessing it will call for some modifications to /modules/Cataloger/action.default.php
Any help is much appreciated. Thanks guys.
In the Cataloger module, I am using this template as my Item-CSS-Based Template:
Code: Select all
<a href="{$src_image_1_url}" title="{$title}"><img src="{$image_1_url}" alt="{$title}" /></a>
<div class="item_thumbnails">
{section name=ind loop=$image_url_array}
<a href="{$src_image_url_array[ind]}" title="{$title}"><img src="{$image_thumb_url_array[ind]}" /></a>
{/section}
</div>
As you can see, I'm showing off a large image on top by calling $image_1_url, and then listing the thumbnails as an array below.
The problem with this, is that it shows $image_1_url twice. The main large image, and then the first image in the array.
My Question:
Is there a way to exclude $image_1_url from the loop=$image_url_array?
I'm no programmer, but I am guessing it will call for some modifications to /modules/Cataloger/action.default.php

Any help is much appreciated. Thanks guys.