View Single Post
  #15  
Old 05-09-2003, 12:29 PM
  finestshops's Avatar 
finestshops finestshops is offline
 

eXpert
  
Join Date: Oct 2002
Location: Toronto, Canada
Posts: 335
 

Default little enhancement to this great mod

To make detailed images popup window look nicer,
just change the code in

/modules/Detailed_Product_Images/product_images.tpl

to this one:


Code:
{ config_load file="$skin_config" } <html> <head> <title>PhotoGift.net : The best place to get unique photo items for someone special. </title> { include file="meta.tpl" } <link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}"> </head> <body> <table border="0" cellpadding="10" cellspacing="0" weight="100%" height="100%"> <tr><td align="center" valign="middle" > {capture name=dialog} {if $images ne ""} {section name=image loop=$images} {if $images[image].avail eq "Y"} [img]../product_image.php?imageid={$images[image].imageid}[/img] {/if} {/section} {/if} <center> <form> <input type="button" value="Close" onClick="window.close()"> </form> </center> {/capture} {if $smarty.capture.dialog ne ""} {include file="dialog.tpl" title="Detailed images" content=$smarty.capture.dialog extra="width=100%"} {/if} <td> </tr> </body> </html>
__________________
Best regards,

Anton Pachkine
finestshops.com/x-cart