From what I can tell, the main changes in Zen LightBox to the additional_images.php file are mainly to work with Image Handler.
The code shows lines like this:
I just did a fresh install of 1.3.9h then installed IH2 (worked fine) then I installed Zen LightBox 1.6 (including additional_images.php) and everything seems to still be working just fine!PHP Code:if (function_exists('handle_image')) {
$flag_has_large = true;
}
daniel
Hey Niestudio,
Sorry if this was already mentioned but I could not seem to find it through all the updates. Can you explain what files need to be changed to resolve the chrome issue (when the lightbox opens and just stalls - no image). I'm using v1.5. Everything seems to work fine except for chrome.
I have a custom deployment on mine and it was a pain to get the lightbox originally installed so a clean install would be a real hassle.
Thanks,
-A
Hi A, I didn't really troubleshoot it browser by browser like that, I just started with the old scripts and looked for more current technology to update to.
I did notice during one phase of troubleshooting that I had some very old (prior to ZLB 1.5) scripts inside of includes/templates/your_template/jscript that seemed to be causing issues.
As a test you could create another folder called old_scripts inside of the jscript folder and move all but the 2 files starting with 'zen_lightbox' into that folder.
IF that works for you, and you see no other issues with your site, it may be safe to leave them excluded (in the old_scripts folder) from your site. I dont know what other extensions you may have installed, so I can't say that its safe to remove everything.
Hope this helps
daniel
Thanks Nie for your prompt response. It looks like the only jscripts i have are the two you mentioned. I guess I will just have to upload a new version. What is the most recent download link and why has it not been updated on the Zen Cart plug ins? It looks like the last zen lightbox was upload in '08?
Thanks
-A
Good to know this as we weren't aware that the Zen Lightbox module even had been recently updated AND had specific code which supported IH2.. The Fual Slimbox module requires some minor file merging to work with IH2, and it was always understood that the same applied to Zen Lightbox..
Unless I am misunderstanding what I see looking at the Zen Lightbox code for the additional_images.php file, and what you posted here, CLEARLY Zen Lightbox does not require any of the IH2 files be merged.. (It looks as if all you have to do is simply overwrite the additional_images.php from IH2 with the one from Zen Lightbox and every thing works together)
Perhaps when time permits we will update the IH2 documentation accordingly to minimize any confusion going forward..
Last edited by DivaVocals; 9 Jan 2011 at 10:22 PM.
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
In my current setup i have the lightbox inside of an iFrame, so when i open an image everything appears fine but it centers the image to the center of the iFrame instead of the center of the entire page. This is an understandable issue but is there a way that i can manually over ride that and position the pops at a different location?? I wan to just move it from center to maybe top center, how can i do this?