View Single Post
  #78  
Old 12-06-2010, 11:07 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart Smart Template v4.4.x

For anyone getting odd sized thumbnails, in skin/smart_template/custom/css/common.css

Change...
Code:
ul.row_view li .product_block .thumbcol img { margin: 0 0 10px 0; width: auto; height: auto; /* Thumbnail Size */ }
To...
Code:
ul.row_view li .product_block .thumbcol img { margin: 0 0 10px 0; }

Then in skin/smart_template/customer/simple_products_list.tpl

Replace...
Code:
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.tmbn_x image_y=$product.tmbn_y product=$product.product tmbn_url=$product.tmbn_url}
with...
Code:
{if $product.tmbn_x} {include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.tmbn_x image_y=$product.tmbn_y product=$product.product tmbn_url=$product.tmbn_url} {else} {include file="product_thumbnail.tpl" productid=$product.productid image_x=$config.Appearance.thumbnail_width image_y=$product.tmbn_y product=$product.product tmbn_url=$product.tmbn_url} {/if}

In addition, the image cache regeneration tool doesn't appear to be working 100% in v4.4.1.
I'm guessing that, along with many other bugs, will be fixed in v4.4.2 (due out end of Dec).
__________________
xcartmods.co.uk
Reply With Quote