View Single Post
  #2  
Old 03-07-2007, 04:15 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Dynamic image to display based on cat id?

Don't use php, just put it in the template. Not sure about category id, but I use this for calling an image with the current category name:

<img src="{ImagesDir}/{$current_category.category}.jpg" alt="{$current_category.category}">
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote