Jump to content

how do I show Category Picture in loop?


Recommended Posts

http://harveys.blueplanetdns.com/harveys-shop/

 

<h1>Online Shop</h1>
 <img src="{$img_dir}beer_banner.jpg" alt="{l s='Banner'}" />
 <ul class="tree {if $isDhtml}dhtml{/if}">
  {foreach from=$blockCategTree.children item=child name=blockCategTree}
   {if $smarty.foreach.blockCategTree.last}
 {include file="$branche_tpl_path" node=$child last='true'}
   {else}
 <h3>{include file="$branche_tpl_path" node=$child}</h3>

   {/if}
  {/foreach}
  </ul>

 

My code above only shows the category names, I would lik eto include the Category images?!

 

thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...