Is there a way to get the product thumbnail image size in the product list view in admin panel? They look really small in my desktop so I can't tell which product it is. Would be great if those thumbnails could be set larger.
Thanks!
CuteFox
OC 2.3.0.2
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);
}
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
I used different sizes on product.php as you suggested but didn't change at all. I still get the same size (40 by 40) image in the product list.
Any more advice pls?
That was the correct address I need to look at:
system\storage\modification\admin\controller\catalog\product.php
Now, I was able to resize the image on product list.
Thank you!
is NOT the right Path, because you so only change the OcMod-CACHED Product.php page,
meaning, that if you ever OcMod-RESET your System, the changes will be gone!
You therefore have to make the changes in the:
admin\controller\catalog\product.php
to keep them.
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
In this case, I have to repeat: I used different sizes on admin\controller\catalog\product.php as suggested but didn't change at all. I still get the same size (40 by 40) image in the product list.
Any more advice pls?
But since you OcMod-CACHE this Admin Product Page, for some reason, possibly, an OcMod exists,
doing some harm to this Default SOURCE CODE setting !
Ernie
PS: checked on OC v.2.2.0.0. Source!
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Thank you all!
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Users browsing this forum: No registered users and 268 guests