Re: Product Image Style
What would be the code for adding a border please?
And, I'm not using the Detailed Images mod. Just the X Cart standard images within the Product Details page.
Also, I can't seem to identify which part of product_thumbnail.tpl refer to border thickness or color. Recap: my thumbnails now have a picture, a thick pink border, and a thin red border. I'd like it to be just a picture with a thin red border.
I'm using the Fashion Mosaic template, not sure if that affects things, but this is my product.thumbnail.tpl:
{* $Id: product_thumbnail.tpl,v 1.14 2004/06/24 09:53:29 max Exp $ *}
{if $config.Appearance.show_thumbnails eq "Y"}
{if $usertype eq "C"}<DIV class="ProductTopBorder">{/if}<IMG id="{$id}" src="{if $tmbn_url}{$tmbn_url}{else}{if $full_url}{$http_location}{else}{$xcart_web_dir}{/if}/image.php?productid={$productid}{if $file_upload_data.file_path}&tmp=y{/if}{/if}"{if $image_x ne 0} width="{$image_x}"{/if}{if $image_y ne 0} height="{$image_y}"{/if} alt="{$product|escape}" {if $usertype ne "C"}border="0"{else}class="ProductBorder"{/if}>{if $usertype eq "C"}</DIV>{/if}
{/if}
__________________
v 4.0.19
|