Image category more little then product image
Posted: Fri Mar 07, 2008 5:57 am
How can i have the category image in a different dimension from product images? thank you
OpenCart Community Forum - Discuss shopping cart and e-commerce solutions.
https://forum.opencart.com/
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'))
);
}
Code: Select all
'thumb' => $image->resize($result['filename'], 150, 150)