- Posts: 298
- Thank you received: 7
Product Image Size in Administrator
5 years 11 months ago #325203
by a2zcs
Product Image Size in Administrator was created by a2zcs
-- url of the page with the problem -- :
aquacorals.com
-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.22
Currently the images in the product list in the back show at a tiny 50x50 pixel image. Where can I increase that size to where it won't be overwritten by updates? Also the image size in the "Images and Files" section of the Product entry form.
Thanks
-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.22
Currently the images in the product list in the back show at a tiny 50x50 pixel image. Where can I increase that size to where it won't be overwritten by updates? Also the image size in the "Images and Files" section of the Product entry form.
Thanks
Please Log in or Create an account to join the conversation.
5 years 11 months ago #325208
by nicolas
Replied by nicolas on topic Product Image Size in Administrator
Hi,
Edit the file product / listing.php for your backend template via the menu Display->Views.
There, you'll have that line:
$img = $this->image->getThumbnail(@$row->file_path, array('width' => 50, 'height' => 50), $image_options);
You just have to increase the numbers there and it will increase the size of the images on the products listing in the backend.
For the other areas where you would like to do the same, it will be a similar modification. To know which view file to edit for which area, I would recommend to use the "Display view files" setting of the HikaShop configuration as explained here:
www.hikashop.com/support/documentation/1...-display.html#layout
Note that since you'll do these changes as view overrides, you'll keep these changes with future updates.
Edit the file product / listing.php for your backend template via the menu Display->Views.
There, you'll have that line:
$img = $this->image->getThumbnail(@$row->file_path, array('width' => 50, 'height' => 50), $image_options);
You just have to increase the numbers there and it will increase the size of the images on the products listing in the backend.
For the other areas where you would like to do the same, it will be a similar modification. To know which view file to edit for which area, I would recommend to use the "Display view files" setting of the HikaShop configuration as explained here:
www.hikashop.com/support/documentation/1...-display.html#layout
Note that since you'll do these changes as view overrides, you'll keep these changes with future updates.
Please Log in or Create an account to join the conversation.
5 years 11 months ago #325219
by a2zcs
Replied by a2zcs on topic Product Image Size in Administrator
That worked great! thank you!
Please Log in or Create an account to join the conversation.
Time to create page: 0.165 seconds