Jump to content

[SOLVED] Catategory image in IE


Recommended Posts

Hi,

I had a problem with displaying subcategory image in IE (1.4.3) and I solve it.

Here's how:

 

Open category.tpl and find (62 row) and comment red ones:

 

<h3>{l s='Subcategories'}</h3>

<ul class="inline_list">

{foreach from=$subcategories item=subcategory}

<li>

<a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}">

{if $subcategory.id_image}

<img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'subcategory')}" alt="" {*width="{$subcategory.width}" height="{$subcategory.height}"*} />

{else}

<img src="{$img_cat_dir}default-medium.jpg" alt="" {*width="{$mediumSize.width}" height="{$mediumSize.height}"*} />

{/if}

Link to comment
Share on other sites

×
×
  • Create New...