こんにちは、このコードを使用して、対応する画像でカテゴリを表示しました。prestashop 1.4.4 を使用しています
<ul>
{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}
</ul>
firebug を使って src 属性を見ると、このようなパスが表示されます - /prestashop/img/c/-category.jpg
そして、このように画像を表示したい-「/prestashop/img/c/6-category.jpg」ここで6は画像IDです。上記のようなURLを取得するためにコードを使用するにはどうすればよいですか。