12 Jun 2024, 12:59 PM
New Zenner
- Join Date:
- Jan 2006
- Posts:
- 44
- Plugin Contributions:
- 0
Popup main image displayed medium instead of large
ZC 2.0
PHP 8.3
I noticed that when clicking on the main image on a Product info page, the popup window displays the medium version instead of the large version of the image. I fixed the issue by changing line 17 of includes/templates/template_default/templates/tpl_modules_main_product_image.php from:
<?php echo zen_image($products_image_medium, $products_name, '', '', 'class="centered-image"'); ?>
to:
<?php echo zen_image($products_image_large, $products_name, '', '', 'class="centered-image"'); ?>