Yes, solution at the end of this...
Image width and image height are settings in the Image tab of the store Administration.
From the menu, Admin->Configuration->Setting then click on the Image tab.
The values apply to product and category images. You can turn off resizing but then the images ALL have to be uploaded in their final size.
However, in catalog\controller\category.php you will see the following
below it is something similar for products.
You can change the 'thumb' row to something like
where 150 represents the value that you want to use for category images.
Image width and image height are settings in the Image tab of the store Administration.
From the menu, Admin->Configuration->Setting then click on the Image tab.
The values apply to product and category images. You can turn off resizing but then the images ALL have to be uploaded in their final size.
However, in catalog\controller\category.php you will see the following
Code: Select all
foreach ($results as $result) {
$category_data[] = array(
'name' => $result['name'],
'href' => $url->href('category', FALSE, array('path' => ($request->get('path')) ? $request->get('path') . '_' . $result['category_id'] : $result['category_id'])),
'thumb' => $image->resize($result['filename'], $config->get('config_image_width'), $config->get('config_image_height'))
);
}
You can change the 'thumb' row to something like
Code: Select all
'thumb' => $image->resize($result['filename'], 150, 150)
Who is online
Users browsing this forum: No registered users and 1 guest