Hi!
I need some help over here:
I`m using zj silver template and zen cart 1.3.8
which has the nice lightbox effekt for the main produkt image - i want to add more images for every item and managed how to do that following this tutorial:
https://www.zen-cart.com/tutorials/index.php?article=58
now i want that the images don`t show in the carousel thing at the bottom, but be displayed underneath the main product image.
I figured that out as well putting this instead of the normal "main product image call" to my
tpl_product_info_display.php
now everything is working fine, but the newly added images don`t have the nice styling and the lightbox doesn`t appear when the images are clicked.<!--beginning of images wrapper-->
<div id="productImageWrapper">
<!--bof Main Product Image -->
<?php
if (zen_not_null($products_image)) {
?>
<?php
/**
* display the main product image
*/
require($template->get_template_dir('/tpl_modules_main_product_jquery_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_jquery_image.php'); ?>
<?php
}
?>
<!--eof Main Product Image-->
<br class="clearBoth" />
<!--bof Additional Product Images -->
<?php
/**
* display the products additional images
*/
require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
<!--eof Additional Product Images -->
</div>
I know that i probably have to alter the tpl_modules_additional_images.php file but could`t figure out how to add this to every image:
can anyone help me with this? Would be very very niceclass="fancy" rel="imageset
Thank you!



