Jump to content

Category Images Are Not Showing.


Recommended Posts

Hi i am using ps1.4.4. I used the following code to display category with corresponding image. Categories are properly displayed,but i cant get category image.

 

{foreach from=$blockCategTree.children item=child name=blockCategTree}

{if $smarty.foreach.blockCategTree.last}

{include file="$branche_tpl_path" node=$child last='true'}

{else}

{include file="$branche_tpl_path" node=$child}

{/if}

<img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" />

{/foreach}

 

 

Can any help for displaying categories images?

 

Thanks

Link to comment
Share on other sites

×
×
  • Create New...