Maybe it's just best if I simply upgrade ZLB to v1.62?
Printable View
Maybe it's just best if I simply upgrade ZLB to v1.62?
Okay lemme chime in here because I am not that familiar with ZLB either:smile:.. What I do know is that it is SUPPOSED to include code which works WITH IH2 out the box (it appears that this was part of one of the improvements Alex Clarke's versions brought to the table).. What I posted on the IH2 thread was based on feedback I've received from users of BOTH mods -- users of both modules have reported that the one common file between IH2 and ZLB -- includes/modules/YOUR_TEMPLATE/additional_images.php -- should NOT be merged. They have all indicated that the ZLB version of this file shoud OVERWRITE the IH2 version of this file.
In comparison, Fual Slimbox requires the merging of the code in the common files for IH2 to work with it.. However, the issue ScriptJunkie is reporting seems to be a NON-ISSUE (see this website -- http : // www . hairisle . com/Less-Than-Perfect/Processed-Wefts/Indian-Remy-Machine-Weft-Relaxed-Texture-4-Oz. -- for an example of Fual Slimbox and IH2 working together) Whether you rightclick to view the image source or mouseover the images, the images are all being called from the IH2 bmz_cache folders for the small, medium, and large product images.
Hope all of this is useful information when researching this..:smile:
Thanks DivaVocals,
I was hoping you would chime in.
I know others have said they got IH2 and ZLB working together ok, but I dont really have a need for IH2 and I dont really have time to learn it just to be able to troubleshoot the 2 working together.
ScriptJunkie, I would just suggest making sure all IH2 is installed and then ZLB installed after so that the additional_images file gets overwritten.
daniel
Already done. When I initially installed, I started by completely removing/uninstalling an older version of ZLB. I then installed IH2. After that, I installed v1.61 of ZLB and overrode the additional images file.
Then about a half hour ago, wondering if I only thought that I overrode the additional images file, I downloaded the additional images file from my server, and compared it to both the IH2 file and the ZLB file to make sure I had the ZLB file on the server and that I didn't "transpose" them during install.
All is as it should be.
I took a look at the link Diva provided (where the site is using Fual Slimbox and IH2). I see on that site that on mouseover, the bmz cache file is displayed in the status bar as the image link. Also, when the image is right clicked and copy link is selected, the URL given points to the bmz cache.
This is not the case for me. I'm wondering if it's possible to find out what's different between ZLB and FSB as it relates to this particular functionality, and then use that difference to change how ZLB behaves?
Or is it just me that ZLB is behaving this way for? Because if it's just me, I'll uninstall and reinstall both of them and see if that resolves the "issue".
Gonna test tonight myself.. I was in the middle of compiling the latest IH2 updates (minor updates mostly) Ckosloff and I tested in previous IH2 releases IH2's functionality with both ZLB and FSB. I need to test the same two lightboxes with this upcoming IH2 update before I submit the new IH2 to the downloads (previously ckosloff tested ZLB, I tested FSB).. I will be reporting back my findings from this testing as well..
At first blush, it looks like ZLB only APPEARS to work with IH2.. In reality it looks like what happens is that IH2 works everywhere on your site but the product details page where the ZLB code seems to be using default Zen Cart image locations..
Ok...so I've ruled out that this is unique to my site. A portion of the code I posted in post 2409 can be found in this file:
includes/templates/my_custom_template/templates/tpl_modules_main_product_image.php
The code is below:
It appears to be calling both the large and medium product images from the default zen cart locations instead of from the bmz cache folder (which is where images reside when IH2 is installed).Code:<script language="javascript" type="text/javascript"><!--
document.write('<?php echo '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="' . $rel . '" title="' . addslashes($products_name) . '">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
//--></script>
<?php } else { ?>
<?php // eof Zen Lightbox 2008-12-15 aclarke ?>
<script language="javascript" type="text/javascript"><!--
document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
//--></script>
Neistudio, I know you mentioned being unfamiliar with IH2, but is this something you would know how to change? In other words, if you know how to write code, is it easy to change where the images are called from, or is IH2-specific knowledge required? (the bmz_cache folder resides at the store root).
I would do this myself and submit the changes here for the community, but I don't know how to write the code.