Greetings... Is there a way to make the images shown on the Admin Product List larger. Right now the thumbnails are soo small. I checked the settings for other images and the option for the Admin Product list is not there... so wondering where it can be changed?
Any help would be greatly appreciated.
Angelina
Hi,
You need to edit this file:
find:
and change 40 to what you want.
You need to edit this file:
Code: Select all
admin\controller\catalog\product.php
Code: Select all
if (is_file(DIR_IMAGE . $result['image'])) {
$image = $this->model_tool_image->resize($result['image'], 40, 40);
} else {
$image = $this->model_tool_image->resize('no_image.png', 40, 40);
}
In admin/controller/catalog/product.php file,
find:
replace with:
find:
Code: Select all
if (is_file(DIR_IMAGE . $result['image'])) {
$image = $this->model_tool_image->resize($result['image'], 40, 40);
} else {
$image = $this->model_tool_image->resize('no_image.png', 40, 40);
}
Code: Select all
if (is_file(DIR_IMAGE . $result['image'])) {
$image = $this->model_tool_image->resize($result['image'], $this->config->get('theme_' . $this->config->get('config_theme') . '_image_thumb_width'), $this->config->get('theme_' . $this->config->get('config_theme') . '_image_thumb_height'));
} else {
$image = $this->model_tool_image->resize('no_image.png', $this->config->get('theme_' . $this->config->get('config_theme') . '_image_thumb_width'), $this->config->get('theme_' . $this->config->get('config_theme') . '_image_thumb_height'));
}
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
The changes above does provide the width and height settings that have been defined in the store configuration for the thumbnails which means, yes, the thumbnails will be displayed on the same size from the back-end and the front-end store with these modifications.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester