Product Image Size in Administrator

  • Posts: 268
  • Thank you received: 7
  • Hikamarket Frontedition Hikamarket Multivendor Hikaserial Standard Hikashop Business
4 years 4 months ago #325203

-- 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.

  • Posts: 83407
  • Thank you received: 13498
  • MODERATOR
4 years 4 months ago #325208

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.

  • Posts: 268
  • Thank you received: 7
  • Hikamarket Frontedition Hikamarket Multivendor Hikaserial Standard Hikashop Business
4 years 4 months ago #325219

That worked great! thank you!

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

Time to create page: 0.058 seconds
Powered by Kunena Forum