View Single Post
  #2  
Old 10-07-2005, 05:18 AM
  ETInteractive.com's Avatar 
ETInteractive.com ETInteractive.com is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 747
 

Default

here is a 2 column layout for a custom detailed images mod.

you will have to make some tweaks, but you get the idea.

Code:
{if $images ne ""} <table width="100%" cellspacing="1"> <tr><td align="center" colspan="2"> Detailed Images Click to Enlarge </td> </tr> {assign var="image_counter" value=0} {section name=image loop=$images} {if $image_counter is div by 2} <tr> {assign var="image_counter" value=0} {/if} {math equation="x+1" x=$image_counter assign="image_counter" } {if $images[image].avail eq "Y"} <td> [img]{$images[image].d_url}[/img] </td> {capture name=image_index} {math equation="index+x+1" index=$image_counter x=2} {/capture} {if $image_counter is div by 2 } </tr> {/if} {/if} {/section} </table> {/if}

you can see it in action here.

http://ridersinc.com/store/customer/product.php?productid=4357&cat=1083&page=1

the detailed images section below the price and large thumb.
__________________
ETInteractive.com
X-Cart 3.5.x
Reply With Quote