View Single Post
  #1  
Old 04-22-2006, 12:20 PM
 
gallica gallica is offline
 

Member
  
Join Date: Aug 2005
Posts: 26
 

Default Center images display problem

Hello,

Does anybody knows why with this piece of code product_images.tpl, my images are not centered horizontally in the column ?
Code:
{* $Id: product_images.tpl,v 1.12 2004/05/28 12:21:05 max Exp $ *} {if $active_modules.Detailed_Product_Images ne ""} {capture name=dialog} {section name=image loop=$images} <table width="30" border="0" cellspacing="2" cellpadding="0"> <tr> <td align="center" valign="middle"><div align="center"><a href="javascript:popImage('product_image.php?imageid={$images[image].imageid}','')"> </A>[img]{$xcart_web_dir}/product_image.php?imageid={$images[image].imageid}[/img]</div></td> </tr> {/section} </table> {/capture} {include file="dialog1.tpl" content=$smarty.capture.dialog extra="width=100%"} {/if}

Here is the result i have :
http://www.france-modelisme.com/skin1/images/imges.jpg

Any advice is wellcome.
Thx
__________________
Xcart 4.018
Heavily moded
http://www.france-modelisme.com
Reply With Quote