View Single Post
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


which has the 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
Reply With Quote