View Single Post
  #1  
Old 02-10-2003, 08:28 AM
 
ciava ciava is offline
 

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

Default thumbnail upload!!

Hi All

I'm having a problem with the product.tpl ? i want to be able to upload the thumbnail image if it's available but if not replace it with a custom noimage.tpl here is the code i have tried below. At the moment it will uploas the noimage.tpl when the thumbnail is available and will load up nothing at all when it isn't

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