View Single Post
  #4  
Old 06-30-2008, 06:10 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: turn off auto size of thumbnails - rewrite needed

Well, the only difference I see is the part that has been commented out in your old code
{*{if $image_x ne 0} width="{$image_x}"{/if}
{if $image_y ne 0} height="{$image_y}"{/if}
*}
and
{$xcart_web_dir}{/if}/image.php?productid={$productid}
being changed to
{$xcart_web_dir}{/if}/image.php?type={$type|default:"T"}&id={$produc tid}
in the new code. The $type..."T" is the part that tells x-cart what image type and where to look for the image I believe.
I'm not sure what it is that you are trying to accomplish since even in the code that you got from x-cart the image size is undefined. Is it defined elsewhere, another template perhaps?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote