I think the problem with images on Opencart is something what everyone faces. I mention the Opencart function that takes product image and fit it to the size configured as Product Image Popup Size. And as result there are can be ugly white borders around product image in popup. Or you have to make ALL your images same size or dimension.
I would to ask is there anyone who had resolved this problem for OC 2.x ? If yes please could you share a code we need to change to open original images in pop-up for products on Product Page instead fitted?
---------------------------------
For OC 1.5 I had used this solution but it doesn't work anymore

Code: Select all
IN /catalog/controller/product/product.php
Look for:
$this->data['popup'] = $this->model_tool_image->resize($image, $this->config->get('config_image_popup_width'), $this->config->get('config_image_popup_height'));
Change to:
CODE: SELECT ALL
$this->data['popup'] = 'image/' . $product_info['image'];
& within the same file....
Look for:
'popup' => $this->model_tool_image->resize($result['image'] , $this->config->get('config_image_popup_width'), $this->config->get('config_image_popup_height')),
Change to:
'popup' => 'image/' . $result['image'],