View Single Post
  #9  
Old 10-31-2014, 02:49 PM
 
spdesign spdesign is offline
 

Advanced Member
  
Join Date: Mar 2010
Posts: 31
 

Default Re: Thumbnail size in xc5

I have been trying to change the size of the category icons. Am I correct that the procedure is to create

/XLite/modules/MyName/MyThemeName/View/Subcategories.php

which has the code

Code:
namespace XLite\Module\MyName\MyThemeName\View; class Subcategories extends \XLite\View\Subcategories implements \XLite\Base\IDecorator { protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array( self::PARAM_DISPLAY_MODE => new \XLite\Model\WidgetParam\Set( 'Display mode', $this->getDisplayMode(), true, $this->displayModes ), self::PARAM_ICON_MAX_WIDTH => new \XLite\Model\WidgetParam\Int( 'Maximal icon width', 200, true ), self::PARAM_ICON_MAX_HEIGHT => new \XLite\Model\WidgetParam\Int( 'Maximal icon height', 200, true ), ); } }

to change icon size to 200px? It doesn't seem to work for me. Icons remain at 160px.
__________________
===========
x-cart gold/classic
4.6.4
Reply With Quote