Re: Shadowbox Integration
I got close, but cannot figure it out......this is what I have.... it only shows one link, but it also only uses one image in flash....
I tried many things, but either the text was all gone and there where 4x magnifing glass...or nothing showed at all.....
{if $images ne ""}
{assign var="i_counter" value=1}
{section name=image loop=$images}
{if $images[image].avail eq "Y"}
{if $images[image].tmbn_url}
{if $i_counter eq 1}
<div class="shadowboxlinks"><a rel="shadowbox[images]" class="shadowbox" href="{$images[image].tmbn_url}" title="{$images[image].alt|escape}"><img src="{$ImagesDir}/zoom.gif" alt="{$lng.lbl_click_to_enlarge|escape}" /> {$images[image].alt|escape}{if $images[image].alt|escape eq ""}{$lng.lbl_image}{*math equation="value+1" value=$smarty.section.image.index*}{/if}</a></div>{/if}
{else}
<div class="shadowboxlinks"><a rel="shadowbox[images]" class="hidden" href="{$xcart_web_dir}/image.php?id={$images[image].imageid}&type=D" title="{$images[image].alt|escape}"><img src="{$ImagesDir}/zoom.gif" alt="{$lng.lbl_click_to_enlarge|escape}" /> {$images[image].alt|escape}{if $images[image].alt|escape eq ""}{$lng.lbl_image}{*math equation="value+1" value=$smarty.section.image.index*}{/if}</a></div>
{/if}
{/if}
{assign var="i_counter" value=0}
{/section}
{/if}
__________________
http://www.chopworx.com
Gold Version 4.1.11
Fancy Categories
Shipper Per Product
Featured Products
Gallery V3
Store Manager
|