Skip to main content

Product Image Size in Administrator

More
5 years 11 months ago #325203 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

Please Log in or Create an account to join the conversation.

More
5 years 11 months ago #325208 by nicolas
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.

Please Log in or Create an account to join the conversation.

More
5 years 11 months ago #325219 by a2zcs
That worked great! thank you!

Please Log in or Create an account to join the conversation.

Time to create page: 0.223 seconds
Powered by Kunena Forum