sunandmoon21 Posted June 2, 2011 Share Posted June 2, 2011 Hello,I took a search on the forum, but haven't found a solution for this.I want to reduce the images sizes of the subcategories (80x80 pixel) for example to 60x60, how can I do this?When I click on a main category the subcategories are listed and the 80x80 size images looks too big (also the subcategory names doesn't look good because of the big images), that's why I want them to be reduced.Thanks in advance. Link to comment Share on other sites More sharing options...
sunandmoon21 Posted June 2, 2011 Author Share Posted June 2, 2011 Ok, this is how I solved the problem.change this code in category.tpl getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}"> {if $subcategory.id_image} getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {else} {/if} getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'} to this getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}"> {if $subcategory.id_image} getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'small')}" alt="" width="{$smallSize.width}" height="{$smallSize.height}" /> {else} {/if} getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'} Link to comment Share on other sites More sharing options...
Recommended Posts