View Single Post
  #1  
Old 07-13-2007, 02:45 PM
 
Audiolines Audiolines is offline
 

Senior Member
  
Join Date: Mar 2006
Posts: 102
 

Default different thumbnail sizes for different categories.

so we have a few categories that we would like to have our thumbnails show bigger.

Code:
{* $Id: product_thumbnail.tpl,v 1.14 2004/06/24 09:53:29 max Exp $ *} {if $config.Appearance.show_thumbnails eq "Y"}<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}" border="0" title="{$product|escape}">{/if} {if $products[product].free_shipping eq "Y"}<br><img src="{$ImagesDir}/freeshipping.gif" border="0"> {/if}

how can i make it ignore the width="{$image_x}" part for certian categories
__________________
version 4.0.17
Reply With Quote