View Single Post
  #101  
Old 07-16-2008, 12:45 PM
  peterstagg's Avatar 
peterstagg peterstagg is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 85
 

Default Re: Recently Viewed Mod

Neaisha

It goes in the script that you have to put in the product.tpl file


<script type="text/javascript">
prodImage='{include file="product_thumbnail.tpl" productid=$product.productid image_x=25 product=$product.product type="P" tmbn_url=$product.tmbn_url id="product_thumbnail" }';

prodName='<{$product.product}>';
var p0=('<table><tr><td align = left><a href="'+document.URL+'">'+prodImage+'</a></td><td width = 100%><b><a href="'+document.URL+'">{$product.product}</b></a><br/>ё{$product.taxed_price}</td></tr></table>');
</script>

you set the image_x to the size you want.

see my dev site to view the 25px size images I use

peter
__________________
Peter
"http://www.memoryoverload.com"

Reply With Quote