View Single Post
  #3  
Old 02-02-2006, 12:00 PM
 
hiphoptools hiphoptools is offline
 

Member
  
Join Date: Jun 2003
Posts: 15
 

Default

Thanks Balinor.

If you checkout

http://www.hiphoptools.com/shop/customer/product.php?productid=16133&cat=248&page=1

I want to center the product image.

I looked at /modules/Detailed_Product_Images/product_images.tpl

{* $Id: product_images.tpl,v 1.10 2003/08/11 10:45:10 svowl Exp $ *}
<HTML><TITLE>Detailed Image</TITLE><BODY TOPMARGIN=0 RIGHTMARGIN=0 LEFTMARGIN=0 BOTTOMMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
{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]{$xcart_web_dir}/product_image.php?imageid={$images[image].imageid}[/img]
{/if}




{/if}
{/section}
</div>
{/capture}
{if $smarty.capture.dialog ne ""}
{include file="dialog_blank.tpl" title=$lng.lbl_detailed_images content=$smarty.capture.dialog extra="width=100%"}
{/if}
{/if}
</BODY></HTML>

It looks to me like it is centered. [/url]
__________________
X-Cart version 4.1.4
Reply With Quote