View Single Post
  #1  
Old 02-17-2003, 01:42 AM
 
ciava ciava is offline
 

Advanced Member
  
Join Date: Nov 2002
Location: UK
Posts: 56
 

Default product.tpl image display!!!!!

Hi All

Still having trouble with the product tpl. The problem i need resolving is as follows:-

i have a number of featured products which include thumbnail images, when the product is clicked for more details and the product.tpl is displayed i want to have a detailed image displayed, if there is no detailed image i want the thumbnail to display instead and if there is no thumbnail then i have added a new no_image.tpl which includes an graphic stating there isn't a picture of the product. i've tried using the code below to swap the detailed image for my new tpl if there is no detailed image but this won't even work so any help would be great!!


{section name=image loop=$images} {if $images[image].avail eq ""} [img]../product_image.php?imageid={$images[image].imageid}[/img]
{else}{include file="customer/main/noimage.tpl" }{/if} {/section}

regards

jon
Reply With Quote