X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   size change of category image (https://forum.x-cart.com/showthread.php?t=45863)

RandyK 02-26-2009 02:00 PM

size change of category image
 
In 4.2, how does one change (increase) the size of the category image?

JWait 03-03-2009 06:43 AM

Re: size change of category image
 
I don't have the answer to your question but the place to start is in skin1/customer/main/subcategories.tpl...
The line of code...
<td valign="top" rowspan="{count value=$subcategories print="Y"}"><img src="{if $current_category.icon_url}{$current_category.icon _url|amp}{else}{$xcart_web_dir}/image.php?id={$cat}&amp;type=C{/if}" alt="{$current_category.category|escape}"{if $current_category.image_x} width="{$current_category.image_x}"{/if}{if $current_category.image_y} height="{$current_category.image_y}"{/if} /></td>

The width="{$current_category.image_x}" and height="{$current_category.image_y}" statements determine the size of the category icon.


All times are GMT -8. The time now is 09:34 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.