Get-Wireless 2 Posted December 1, 2006 Share Posted December 1, 2006 I know this thread is for Version, I am currently running version 2. Would version 1 add extra images down the right side like version 2 does when installed alongside more pics? If so is it possible to remove them? Quote Contributions installed so far Discount Coupon Codes Ultimate SEO Urls Star Product Product Description Header template Modern design Search box Add to favorites Discount Plus All Manufacturers Loginbox Best Lightbox V2 Optional Related Products Plus Many more Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2006 Share Posted December 1, 2006 Ron- Try Removing the default margin and padding from the body tag. Add body{ margin: 0; padding: 0; } to your stylesheet. cybercon, Thanks that was the issue exactly. Thanks, Ron Quote Link to comment Share on other sites More sharing options...
Guest Posted December 19, 2006 Share Posted December 19, 2006 Are there any issues with this contrib and STS? Quote Link to comment Share on other sites More sharing options...
osmosistech Posted December 21, 2006 Share Posted December 21, 2006 I just added this with a site using sts, with no problems... you can see it here www.laineyslane.com Quote Link to comment Share on other sites More sharing options...
Guest Posted December 22, 2006 Share Posted December 22, 2006 Could you kindly post the changes necessary for using it with STS? Quote Link to comment Share on other sites More sharing options...
Guest Posted December 23, 2006 Share Posted December 23, 2006 I can get the lightbox effect but I can't get the actual image to appear. Quote Link to comment Share on other sites More sharing options...
portalplanet Posted December 24, 2006 Share Posted December 24, 2006 Hello everyone! I have this working in IE but not in Firefox 2.0. Can someone tell me if it works for them in Firefox 2.0? Here's a sample page: http://demo.portalplanet.net/test-product-p-165.html . Thanks, Justin Quote Link to comment Share on other sites More sharing options...
ncvtech Posted January 6, 2007 Share Posted January 6, 2007 Hi There, does anyone know how to use this excellent contribution with extra images contribution as the product info file gets modified when you use the extra image contrib so the extra image which is uploaded doesnt popup with lightbox. Thanks for this Nils Quote Link to comment Share on other sites More sharing options...
samesame Posted January 19, 2007 Share Posted January 19, 2007 as with the above poster can anyone recommend a good multiple images contribution to use with lightbox Quote Link to comment Share on other sites More sharing options...
portalplanet Posted January 19, 2007 Share Posted January 19, 2007 Hi. Post or PM me a URL with multiple images and I'll check it out and see if I can figure out how to integrate it. Justin Quote Link to comment Share on other sites More sharing options...
youssefxyz Posted January 19, 2007 Share Posted January 19, 2007 :P thank you so much for this conrib. it works like a charm Quote Link to comment Share on other sites More sharing options...
Iggy Posted January 24, 2007 Share Posted January 24, 2007 (edited) Don't know if this'll be helpful to anyone but since I just had to do it thought I'd share :lol: LightBox 2.0 and UltraPics 1.1 Install LightBox as per the instructions. In product_info.php find <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" rel="lightbox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> And replace with (there's probably a nicer way to test for all these instances) <?php if (($product_info['products_image_lrg'] !='') && ($product_info['products_image_med'] !='')) { ?> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_lrg']) . '" rel="lightbox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_med'], $product_info['products_name'], $image_width, $image_height, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> <?php } elseif (($product_info['products_image_lrg'] =='') && ($product_info['products_image_med'] !='')) { ?> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_med']) . '" rel="lightbox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_med'], $product_info['products_name'], $image_width, $image_height, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> <?php } elseif (($product_info['products_image_lrg'] !='') && ($product_info['products_image'] !='')) { ?> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_lrg']) . '" rel="lightbox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], $image_width, $image_height, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> <?php } elseif (($product_info['products_image_med'] =='') && ($product_info['products_image_lrg'] =='')) { ?> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" rel="lightbox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], $image_width, $image_height, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> In /includes/modules/additional_images.php find all instances of <script language="javascript"><!-- document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . 'ℑ=2') . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_2'], addslashes($product_info['products_name']), ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_sm_2']) . '">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_2'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?> </noscript> and replace with <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_xl_1']) . '" rel="lightbox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_sm_1'], $product_info['products_name'], $image_width, $image_height, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> Changing out the image numbers for each products_image_xl_1 2 3 4 etc Your mileage may vary on this code if used verbatim but I hope it either works as presented or points the way for your particular install. Thanks for the osC LightBox contribution. Really nice :thumbsup: Iggy Edited January 24, 2007 by Iggy Quote Everything's funny but nothing's a joke... Link to comment Share on other sites More sharing options...
matrix_france Posted February 1, 2007 Share Posted February 1, 2007 (edited) Hi every one, First of all thank you very much for this great contrib !!! its really nice ... Well i want to make a request , the thing is actually im using MORE PICS 6 so i would really like to use this lightbox contrib with that contrib. coz ive already modified it a bit and now with that contribution im able to upload 10 extra images againts only 6 images in the original version. That's why i'm looking every where if i could have some explications or any documentation, i don't want to remodifiy another image cotribution for it to let me upload a large image collection. And ive done alradysome modif. for the lightbox contrib. for it to work this More Pics 6 but i could show only the 1st image using LIGHTBOX others showing with a popup (original popup of More Pics 6) So guys please if any one can give me solution or any clue. here my site : www.srilankanauto.com Thank you 1000 times in advance. Edited February 1, 2007 by matrix_france Quote Link to comment Share on other sites More sharing options...
matrix_france Posted February 1, 2007 Share Posted February 1, 2007 Guys no one can help me ??? :'( :'( :'( :'( :'( :'( Quote Link to comment Share on other sites More sharing options...
Iggy Posted February 1, 2007 Share Posted February 1, 2007 Guys no one can help me ??? :'( :'( :'( :'( :'( :'( Hey Matrix, Looks like you would need to modify this line in product_info.php // BOF: More Pics 6 ADDED to if statement: && MOPICS_GROUP_WITH_PARENT == 'false' if (tep_not_null($product_info['products_image']) && MOPICS_GROUP_WITH_PARENT == 'false') { ?> <table border="0" cellspacing="0" cellpadding="2" align="right"> <tr> <td align="center" class="smallText"> <script language="javascript"><!-- document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_WIDTH), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_HEIGHT), 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_WIDTH), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_HEIGHT), 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> <?php // EOF: More Pics 6 ?> </noscript> See my post above for some examples of how it works with UltraPics but the principal should be the same for both wherever the popup appears. Iggy Quote Everything's funny but nothing's a joke... Link to comment Share on other sites More sharing options...
matrix_france Posted February 1, 2007 Share Posted February 1, 2007 Hi Iggy , 1st of all thank you very much for your answer. I really appreciate it. Well as i told befor i was able to modify the 1st part of this code(More Pics 6) mixing with the lightbox code and then i was able to get the lightbox effect with my MAIN IMAGE but the 2nd part of the code is a bit hard to understand coz i've never had any php lessons. Its a hard, coz the 2nd part of the code calls all thumbnails of the main image and i would like to play them all in the same LIGHTBOX Effect as it allows with this new version (version 2 of light box) Here the code i could modified ( this code correcspond with the Main Image) It works fine... <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" rel="lightbox[$mo_item]">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_WIDTH), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_HEIGHT), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_WIDTH), (MOPICS_RESTRICT_PARENT=='false'?'':SMALL_IMAGE_HEIGHT), 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> Here the 2nd part of the code which i can't get how to modify (this code shows all other extra images and onclick shows all images in a popup) <script language="javascript"><!-- document.write(\'<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'].'&invis='.(MOPICS_GROUP_WITH_PARENT=='true'?$mo_item:($mo_item+1))).'\\\')">' . tep_image(DIR_WS_IMAGES . $mopics_images[$mo_item], addslashes($product_info['products_name']), (MOPICS_RESTRICT_PARENT=='false'&&$mo_item==0&&MOPICS_GROUP_WITH_PARENT=='true'?'':$mopics_image_width), (MOPICS_RESTRICT_PARENT=='false'&&$mo_item==0&&MOPICS_GROUP_WITH_PARENT=='true'?'':$mopics_image_height), 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>\'); //--></script><noscript> <a href="' . tep_href_link(DIR_WS_IMAGES . $mopics_images[$mo_item]) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $mopics_images[$mo_item], $product_info['products_name'], $mopics_image_width, $mopics_image_height, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a> </noscript> If you can help me Iggy or any other PHP MASTER :rolleyes: it would be very nice !!!! Thank you in advance :thumbsup: Quote Link to comment Share on other sites More sharing options...
Iggy Posted February 1, 2007 Share Posted February 1, 2007 Without installing it and trying it out is it a matter of putting the rel here in the statement? $product_info['products_id'].'&invis='.(MOPICS_GROUP_WITH_PARENT=='true'?$mo_item:($mo_item+1))).'\\\')" rel="lightbox">' Iggy Quote Everything's funny but nothing's a joke... Link to comment Share on other sites More sharing options...
matrix_france Posted February 1, 2007 Share Posted February 1, 2007 Hey Iggy , I modified the code like this using what u said . $mopics_output .= '<a href="' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'].'&invis='.(MOPICS_GROUP_WITH_PARENT=='true'?$mo_item:($mo_item+1))).'\\\')" rel="lightbox">' . tep_image(DIR_WS_IMAGES . $mopics_images[$mo_item], addslashes($product_info['products_name']), (MOPICS_RESTRICT_PARENT=='false'&&$mo_item==0&&MOPICS_GROUP_WITH_PARENT=='true'?'':$mopics_image_width), (MOPICS_RESTRICT_PARENT=='false'&&$mo_item==0&&MOPICS_GROUP_WITH_PARENT=='true'?'':$mopics_image_height), 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>\'); <noscript> <a href="' . tep_href_link(DIR_WS_IMAGES . $mopics_images[$mo_item]) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $mopics_images[$mo_item], $product_info['products_name'], $mopics_image_width, $mopics_image_height, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a> </noscript></td>'."\n"; When i click on an extra image it open the lightbox effect but i stop at loading process no image apears. :'( :'( Any idea Iggy? Quote Link to comment Share on other sites More sharing options...
Iggy Posted February 2, 2007 Share Posted February 2, 2007 Not sure. Is it that mopics is supposed to bring up more than one image in the lightbox? If it is you'll probably have to monkey the lighbox.js around to accomadate that. Just a guess though. Sorry I couldn't fix that one for you. Iggy Quote Everything's funny but nothing's a joke... Link to comment Share on other sites More sharing options...
matrix_france Posted February 2, 2007 Share Posted February 2, 2007 (edited) Heee heeeee I succeeded !!! THANK YOU 1000 TIMES Iggi coz your questions helped me a lot to understand the answer LOL LOL !! Finaly ive done it I will probably set a module by combing this great lightbox module and the More pics 6 module and i will upload it soon to the contributons. Hee heee i'm very happy guys !!! This is my 1st real php script modification. Now You ALL KNOW THAT WE CAN USE LIGHTBOX 2 WITH AN EXTRA IMAGE MODULE (MORE PICS 6) I saw a lot of users were looking for this feature heee heee now its done !!! Edited February 2, 2007 by matrix_france Quote Link to comment Share on other sites More sharing options...
matrix_france Posted February 2, 2007 Share Posted February 2, 2007 Heee heeeee I succeeded !!! THANK YOU 1000 TIMES Iggi coz your questions helped me a lot to understand the answer LOL LOL !! All credits goes to "mwstinson" for lightbox and the guys who devlopped More Pics 6 Finaly ive done it I will probably set a module by combing this great lightbox module and the More pics 6 module and i will upload it soon to the contributons. Hee heee i'm very happy guys !!! This is my 1st real php script modification. Now You ALL KNOW THAT WE CAN USE LIGHTBOX 2 WITH AN EXTRA IMAGE MODULE (MORE PICS 6) I saw a lot of users were looking for this feature heee heee now its done !!! Have a look my site : http://srilankanauto.com Quote Link to comment Share on other sites More sharing options...
Iggy Posted February 2, 2007 Share Posted February 2, 2007 And that's 95% of the fun right there. Do post the mod either here or in contribs! You never know when someone will find it or some part of it useful. Glad I could "help" :lol: Iggy Quote Everything's funny but nothing's a joke... Link to comment Share on other sites More sharing options...
matrix_france Posted February 6, 2007 Share Posted February 6, 2007 Hi guys here the contrib : http://www.oscommerce.com/community/contributions,1611 Quote Link to comment Share on other sites More sharing options...
simonhavefunsusiproposes Posted February 11, 2007 Share Posted February 11, 2007 hello, great contrib. everything was working fine until i installed mo_pics6_v1.2c. ie seems to work great, but firefox 1&2 won´t. this is what it looks like in firefox: and here my code from product_info.php <?php //START MOREPICS WITH LIGHTBOX if (tep_not_null($product_info['products_image']) && MOPICS_GROUP_WITH_PARENT == 'false') { ?> <table border="0" cellspacing="0" cellpadding="2" align="right"> <tr> <td align="center" class="smallText"> <script language="javascript"><!-- document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" rel="lightbox[products]" title="' . $product_info['products_name'] . '">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?> </noscript> </td> </tr> <?php } ?> <?php //Morepics contrib compatibility - checking if the next field is null if (tep_not_null($product_info['products_subimage1'])) { ?> <tr> <td align="center" class="smallText"> <script language="javascript"><!-- document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_subimage1']) . '" rel="lightbox[products]" title="' . $product_info['products_name'] . '">' . tep_image(DIR_WS_IMAGES . $product_info['products_subimage1'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_subimage1']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?> </noscript> </td> </tr> <?php } ?> <?php //Morepics contrib compatibility - checking if the next field is null if (tep_not_null($product_info['products_subimage2'])) { ?> <tr> <td align="center" class="smallText"> <script language="javascript"><!-- document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_subimage2']) . '" rel="lightbox[products]" title="' . $product_info['products_name'] . '">' . tep_image(DIR_WS_IMAGES . $product_info['products_subimage2'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_subimage2']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?> </noscript> </td> </tr> <?php } //START - Morepics contrib compatibility - checking if the next field is null if (tep_not_null($product_info['products_subimage3'])) { ?> <tr> <td align="center" class="smallText"> <script language="javascript"><!-- document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_subimage3']) . '" rel="lightbox[products]" title="' . $product_info['products_name'] . '">' . tep_image(DIR_WS_IMAGES . $product_info['products_subimage3'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_subimage3']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?> </noscript> </td> </tr> <?php } //Morepics contrib compatibility - checking if the next field is null if (tep_not_null($product_info['products_subimage4'])) { ?> <tr> <td align="center" class="smallText"> <script language="javascript"><!-- document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_subimage4']) . '" rel="lightbox[products]" title="' . $product_info['products_name'] . '">' . tep_image(DIR_WS_IMAGES . $product_info['products_subimage4'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_subimage4']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?> </noscript> </td> </tr> <?php } //Morepics contrib compatibility - checking if the next field is null if (tep_not_null($product_info['products_subimage5'])) { ?> <tr> <td align="center" class="smallText"> <script language="javascript"><!-- document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_subimage5']) . '" rel="lightbox[products]" title="' . $product_info['products_name'] . '">' . tep_image(DIR_WS_IMAGES . $product_info['products_subimage5'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_subimage5']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?> </noscript> </td> </tr> <?php } //Morepics contrib compatibility - checking if the next field is null if (tep_not_null($product_info['products_subimage6'])) { ?> <tr> <td align="center" class="smallText"> <script language="javascript"><!-- document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_subimage6']) . '" rel="lightbox[products]" title="' . $product_info['products_name'] . '">' . tep_image(DIR_WS_IMAGES . $product_info['products_subimage6'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_subimage6']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?> </noscript> </td> </tr> <?php } //Now that images have been loaded and displayed we close the table //END MOREPICS WITH LIGHTBOX ?> </table> <!-- END MOREPICS WITH LIGHTBOX--> unfortunately the solution from matrix_fr isn´t uploaded yet. would be great if someone can have a look :blush: Quote Link to comment Share on other sites More sharing options...
simonhavefunsusiproposes Posted February 13, 2007 Share Posted February 13, 2007 :'( 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.