Guest Posted February 3, 2009 Share Posted February 3, 2009 Quote Link to comment Share on other sites More sharing options...
mwildin1 Posted March 13, 2009 Share Posted March 13, 2009 Hi, I just got lightbox working with the MaxiDVD multi product image contribution and had to modify the module file that was installed as part of the MaxiDVD contribution. I'm not familiar with the exact files your mod includes, but it looks like your links are all referencing the same image: $product_info['products_image'], So for example if we take some of the code that you pasted, I think the following lines are causing lightbox to show the same image, as the link for each is referencing products_image on all of them (the standard product image). $product_info['products_image_2']) . '" target="_blank" rel="lightbox" title="'.$product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . $product_info['products_image'] $product_info['products_image_3']) . '" target="_blank" rel="lightbox" title="'.$product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . $product_info['products_image'] $product_info['products_image_4']) . '" target="_blank" rel="lightbox" title="'.$product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . $product_info['products_image'] $product_info['products_image_5']) . '" target="_blank" rel="lightbox" title="'.$product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . $product_info['products_image'] $product_info['products_image_6']) . '" target="_blank" rel="lightbox" title="'.$product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . $product_info['products_image'] If you changed them to something like this, they would show a different image for each line: $product_info['products_image_2']) . '" target="_blank" rel="lightbox" title="'.$product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . $product_info['products_image_2'] $product_info['products_image_3']) . '" target="_blank" rel="lightbox" title="'.$product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . $product_info['products_image_3'] $product_info['products_image_2']) . '" target="_blank" rel="lightbox" title="'.$product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . $product_info['products_image_4'] $product_info['products_image_3']) . '" target="_blank" rel="lightbox" title="'.$product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . $product_info['products_image_5'] $product_info['products_image_2']) . '" target="_blank" rel="lightbox" title="'.$product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . $product_info['products_image_6'] However, you may have something like products_image_2_large or something for the additional images pop up, depending on the contribution. As a test, try changing the lines above to see if different images appear. What is the name of the multi image contribution you are using and I'll see what the correct name for the additional image pop up is. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.