Just click the back button in your browser.
Printable View
Thanks for your input Sharx, but its not me hitting the kill button thats the problem. Its my visitors. Is there some way I can stop a visitor from using the kill button when an image is being shown in the lightbox?
Cheers,
Possum
Possum,
In a word.....NO. I can't imagine the nightmare that would be created if there was a way to disable the "kill" button. How about shrink large image size so that the image fits on the average screen real estate. I would also suspect it wouldn't be to much trouble to copy the code for the lightbox close function to the top of the display also, so you would have close buttons top and bottom.
Hi, I have got this problem. I installed the Image Handler 2 and I use the preview function of IH2. I installed the Zen LightBox 1.4 today and the IH2 preview stoped working. Do you know, how to solve this problem, please ?
So I fixed the issue from my previous post. The problem was that I coppied the files from YOU_TEMPLATE to my tamplate DARKNESS folder. I tried to copy the files to TEMPLATE_DEFAULT and it works, BUT....
:oops:
I have got the IH2 previews, but if I click the main product image or aditional image it does not work. There is no reaction to the mause click.
I'm going to answer my own question :P
Yes it can be used on additional pages.
Just copy the code in any of the files in /includes/modules/pages/......
and insert it into the additional page.
Then put rel="lightbox[gallery]" into the image link.
Hope somebody else than me think this is useful... :wink:
Hi barco57,
I hadn't thought about the possibility of people misusing that option, but now that you point it out, I understand why it's not possible.
I like the idea of setting a close box at the top right of the lightbox. I don't have control over the images that are shown so can't be sure of the sizes, but the code is mine to manage.
Thanks,
Possum.
I've been reading this thread for days (well it feels like it) looking for a solution to a problem that I have. But first let me give my tip on the following. Problem to follow in next post.
I noticed that many users are having problems with displaying multiple images for a product in the LightBox window. I was also looking into this but needed a quick solution for a demo for a client. I also wanted a solution where you could see multiple images of a product only in the LightBox window. I did not want to clutter my product page with additional images of the product. This is solved by just adding 4 lines of code (plus 1 line for each additional image) at the end of your product description in the admin console. Advantages are;
- no complicated file naming convention, and you can use more meaningful names ie. can use - car.jpg, tire.jpg etc,
- images can be stored in any folder and don't have to be in the same folder,
- very quick and easy,
- don't need to display the additional images on the product page but this does not stop you if you do want to display them.
I would like to add that I do not have IH installed. Maybe the pros could comment on this method of displaying additional images.PHP Code:
<div id="productMainImage" class="centeredContent back">
<script language="javascript" type="text/javascript">
<!--document.write('<a href="images/SecondImage.jpg" rel="lightbox[gallery]" title="This is the second image"></a>')
document.write('<a href="images/some_folder/AnotherPicture.jpg" rel="lightbox[gallery]" title="This is the third image"></a>')//--></script>
</div>
First I want to thank Alex Clarke for maintaining such a high level of support for this thread (and to all other contributors).
I noticed that there are a number of users who have stated that they have this problem. When you click on the image thumb to enlarge it, the browser clears the display and then displays the picture in a new blank window, not in the 'Lightbox window'. Basically what I found was that if the page was still busy loading and you clicked on the thumb before it completed, it would open the image in a new browser window and would not use Lightbox. One could argue that a normal user would not normally do this but I noticed that I had a few seconds delay while my page was refreshing the site certificate seal and stats counter. In this time, a user might click on the image thumb. Especially if he is revisiting the page and just wants to view the product. (This happened in my demo with the client!)
I could emulate this on any site that I found using Lightbox. This was with IE6, IE7 and Firefox 2. Even your site Alex displays this problem. You might need to create some load on your internet connection to see this if you have a reasonably fast connection. Basically by simulating a slow connection, it is easier to see this.
I hope this can point someone in the right direction in solving this great feature.
Thanks for your comments. My site is currently only running Zen Lightbox v1.3 and not the latest v1.4 release. The latest release should have support for slower Internet connections.
Can you confirm that you are running the latest version of Zen Lightbox on your website?
Also, to everyone with additional images problems, I'll be releasing the next version of Zen Lightbox soon. This should resolve this issue and also introduce some new features.
Hi Alex, thanks for your quick reply. I can confirm that I'm running V1.4 but I found this posting on Lightbox 2's forums;
It doesn't work if I click an image link before the page has finished loading.
The script is activated only after the page has finished loading.
This is pretty much what I expected what was happening. So, this seems to be a feature of the situation and not a specific bug. I'm now stripping out my site stat counter and changing the implementation of the site seal certificate, because I'm not getting rid of Lightbox.
Zen Lightbox is not just Lightbox v2. It also contains various other bits of code, one part which actually prevents the problem that you're describing.
When the page loads, Zen Lightbox runs a small piece of Javascript. This tells the rest of the code to keep the lightbox (with the loading image/rotating animation) on the screen and completely preload the product images when the user clicks to enlarge the image.
Only when the product image has been preloaded (if it hasn't already been loaded) will the script proceed.
This functionality was introduced in v1.4 of Zen Lightbox.
Hopefully all of the above makes some sense! :P
I'm getting the following error message when trying to install the sql patch
Hope somebody can help me out hereCode:1136 Column count doesn't match value count at row 1
in:
[INSERT INTO zen_configuration_group VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox options', '1', '1');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Alex,
Have you been able to determine why Image Handler 2 (latest) dies when used in conjunction with Lightbox 1.4
Same story on 1.3.7, 1.3.7.1, and 1.3.8 using fresh install and both mods.
:frusty:
It's always worked fine for me on Zen Cart 1.3.7 and 1.3.7.1. However, several users have reported problems, which I am looking in to.
I've not yet tested Zen Lightbox on Zen Cart 1.3.8, but will be doing so soon.
The additional images code has been upgraded in Zen Cart 1.3.8 so I think I'll need to release a new version of Zen Lightbox soon.
I'll try to get an update out asap, but cannot commit to a date yet.
Again, thanks for your reply. I understand what you are saying here but I can assure you that I get this problem with the latest version of Lightbox on 3 different browser versions (IE6, IE7 & FF2) and tested on 2 different computers using multiple sites running the latest version of Lightbox. Also, I believe that the reason why this is happening is because the script has not started executing when the user clicks on the image. If the script does not have time to start, then it will not help to put in these types of preventative measures. Does the script not start after it receives a 'page loaded' event? (What I can make out from the code, the init() function is called when the page loaded event occurs. As seen by the DOMContentLoaded, window.onload = init etc commands in lightbox_lightningload.js) These events are only triggered after the page loaded event has occured. Thus if the user clicks before this event, a blank page is displayed.
I believe that the only way to solve this is to include a javascript call in the images anchor tag (with this script coded within the pages <head> tags). So when the user clicks on the image, this script is run. This script will either;
- process the lightbox functionality if the page loaded event has occurred,
- set a timer and wait for the page loaded event to occur. When the event occurs, it will perform the lightbox functionality. If a timeout occurs, the image is displayed on a blank page or popup window.
A possible problem with this solution is that the system might wait to generate a page loaded event while this script is running.
I did look into disabling the mouse while the page was being loaded but this only works with IE. Looked everywhere to find some example to disable the left mouse button for FF - with no luck.
I understand what you're saying. The lightbox_lightningload.js script will not let the lightbox proceed unless the image(s) have been loaded.
However, if this file is not loaded and the user clicks on the image(s) (as you've described) we have a problem. I beleive this will be the case for most people with slow Internet connections or people running Zen Cart on slow servers.
I'll have a look for a solution and see ifI can come up with anything.
Thanks for pointing this out. :)
Has anyone managed to successfully run the .js scripts through dean edward's js packer http://dean.edwards.name/packer/ ? They are pretty weighty files so it would be a real bonus if they could be compressed. I have given it a go, but his packer is very funny about semi colons (apparently one can be rather lax about them in js) and I don't know anything about js, so I'm not really sure what the correct syntax should be.
Anyway I found a pre packed lightbox, but it didn't work properly...
Any ideas?
This isn't a double post. I a pretty sure that all you need to do is change the 'onload' event to 'domready' That will transform the links basically as soon as they are accessible by the user: http://demos.mootools.net/DomReadyVS.Load
Whatever you do don't disable the mouse!!!!!
I believe that Alex is using the DOM functionality but this does not matter with slow internet connections as the page is rendered as the browser receives the html. Thus when the place holder for the anchor tag is rendered, the user can click on it, this being before the DOM event has occurred. I know that this is an extreme case but as explained in a previous post, my page was referencing a security seal and a site meter count. Only when these were loaded, did the DOM event occur (sometimes taking more than 5 seconds to load). I've since removed these from the product details page which has improved things.
If that is the problem, then why not just wait for the dom load before displaying the link to the image? Maybe a trasition the pops the image box out of the side of the page.
Yeah I can see that due to the way zencart builds the page, this problem is never going to be resolvable without some little trick.
OK, I think I have a solution for the problem where the browser displays the image in a new window, instead of displaying it with the Lightbox functionality. This can happen on a slow or loaded internet connection and the user clicks on the image before the page has completely loaded.
What I did was to manually call the Lightbox init function once the last anchor tag was loaded. This call was insert after the product description. I created an the override tpl_product_info_display.php and inserted the following code directly after the line '<!--eof Product description -->' (line 128 on my system);
I then removed the loading of lightbox_lightningload.js in product_info/jscript_zen_lightbox.php Just deleted the following line;PHP Code:
<script language="javascript" type="text/javascript"><!--
initLightbox();
//--></script>
Since I only use Lightbox in the product details page, I've left all other references the same. It now works a dream (even on a 56kb dialup connection).PHP Code:
echo '<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/lightbox_lightningload.js"></script>
I tried to run the SQL patch and I get the following error:
any ideas?Code:1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '; SELECT (@t4:=configuration_group_id) as t4 FROM configuration_group WHERE ' at line 1
in:
[SET @t4=0; SELECT (@t4:=configuration_group_id) as t4 FROM configuration_group WHERE configuration_group_title= 'Zen Lightbox'; DELETE FROM configuration WHERE configuration_group_id = @t4; DELETE FROM configuration_group WHERE configuration_group_id = @t4; INSERT INTO configuration_group VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox options', '1', '1'); UPDATE configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id(); SET @t4=0; SELECT (@t4:=configuration_group_id) as t4 FROM configuration_group WHERE configuration_group_title= 'Zen Lightbox'; INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Enable Zen Lightbox?', 'ZEN_LIGHTBOX_STATUS', 'true', '
If true, all product images on the following pages will be displayed within a lightbox:
- document_general_info
- document_product_info
- product_free_shipping_info
- product_info
- product_music_info
- product_reviews
- product_reviews_info
- product_reviews_write
Please note: To completely remove Zen Lightbox you will need to manually delete the installation files.
Default: true', @t4, 1, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Overlay Opacity', 'ZEN_LIGHTBOX_OVERLAY_OPACITY', '0.8', '
Controls the transparency of the overlay.
Default: 0.8', @t4, 2, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''0'', ''0.1'', ''0.2'', ''0.3'', ''0.4'', ''0.5'', ''0.6'', ''0.7'', ''0.8'', ''0.9'', ''1''), '), (NULL, 'Overlay Fade Duration', 'ZEN_LIGHTBOX_OVERLAY_DURATION', '0.2', '
Controls the fade duration of the overlay.
Default: 0.2', @t4, 3, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''0'', ''0.1'', ''0.2'', ''0.3'', ''0.4'', ''0.5'', ''0.6'', ''0.7'', ''0.8'', ''0.9'', ''1''), '), (NULL, 'Enable Resize Animations?', 'ZEN_LIGHTBOX_RESIZE_ANIMATIONS', 'true', '
If true, the lightbox will be animated as it appears on the screen.
Default: true', @t4, 4, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Resize Speed', 'ZEN_LIGHTBOX_RESIZE_SPEED', '7', '
Controls the speed of the image resizing.
(1 = slowest and 10 = fastest)
Default: 7', @t4, 5, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''1'', ''2'', ''3'', ''4'', ''5'', ''6'', ''7'', ''8'', ''9'', ''10''), '), (NULL, 'Border Size', 'ZEN_LIGHTBOX_BORDER_SIZE', '10', '
If you adjust the padding in the CSS file, you will need to update this variable.
Please note: This value is measured in pixels.
Default: 10
', @t4, 6, NOW(), NOW(), NULL, NULL), (NULL, 'Close on Overlay Click?', 'ZEN_LIGHTBOX_CLOSE_OVERLAY', 'false', '
If true, the lightbox will close when the overlay is clicked.
Default: false', @t4, 7, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Hide Flash Objects?', 'ZEN_LIGHTBOX_HIDE_FLASH', 'true', '
If true, all Flash objects will be hidden when the lightbox is displayed.
Default: true', @t4, 8, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'DIV Class to Hide', 'ZEN_LIGHTBOX_HIDE_ME', 'zenLightboxHideMe', '
Any content wrapped in a DIV tag with this class will be hidden when the lightbox is displayed.
Default: zenLightboxHideMe
', @t4, 9, NOW(), NOW(), NULL, NULL);]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
it was straight from notepad
into the large box in admin>tools>Install SQL Patches
/admin/sqlpatch.php
any other ideas?
You're generally better off to use phpMyAdmin in your control panel for running sql from this source.
i can just run this exact script in phpmyadmin? i'm not a sql expert i'm afraid.
sorry i realise that doesnt look like a question..
Can i just copy the same install.txt file into the execute sql box in phpmyadmin?
Or does the script need to be modified at all first?
Running the script via phpMyAdmin should work. Just copy and paste it across.
However, you'll run into problems if your database tables have a prefix. That's why it's best to run scripts via the Zen Cart admin - in my opinion anyway.
If you have prefixes you should edit the script before running it via phpMyAdmin.
Do you have any ideas why i am getting the error when running it through the admin?
I dont want to get errors if i try through phpmyadmin....
Your mysql version is?
Apache version 1.3.39 (Unix)
PHP version 4.4.7
MySQL version 4.1.22-standard-log
Just a suggestion, the error code suggests that it has something to do with mysql version, a backward compatibility of sort. Either the author of this code needs to somehow get around this, or you need to upgrade your software.
All your softwares are pretty all anyway. PHP4 will be no longer supported soon, and new versions of ZC require PHP5.
Just a reminder...
Zen Lightbox was developed on a system running PHP 5 and MySQL 5.
So, as yellow1912 suggested - it could be an issue with your MySQL version.
Hi,
I have installed the latest lightbox and made it work on additional images, but couldn't findout the file and code to implement lightbox on product's main image.
Can anyone tell me which file to edit and with what code and where, to make it work on product's main image?
Thanks.
Hello All,
I'm using Zen 1.38 and I finally got this mod to work with my images and IH2.
The only problem I'm experiencing is after clicking on an image, there's an additional box overlapping the bottom of the original and it seems it's trying to open something. When I click on Previous or Next in that additional box, I'm taken back to my homepage.
Does anyone know how to get rid of this extra box?
Thanks for your help,
Robyn
For anyone that is interested, I have IH and Lightbox installed and working correctly on 1.3.8. I had to download the additional_images.pho zip posted somewhere in this thread and use it, but it works great, just the way it should! Thanks for a terrific mod!
Heather
Heather,
Can you be a bit more specific. Are both that you are running with 1.3.8 the latest version of IH2 and lightbox. Also, what order did you install them. We have one site only that is working and we loaded IH first on that one site. Tried it on another with no joy.
Hi Alex,
My other issue is if I use IE and click on a product, now I get the following error message: Internet Explorer cannot open the Internet Site. When I close this message, I'm taken to the Internet Explorer Cannot Display The Webpage error. But when I refresh, I can then view the product! This doesn't happen in FireFox. Hmm....
Here's my website: TheDiva
Thanks for your help.
Hi Alex,
I resolved my initial problem... I found an additional jscript_lightbox.php in includes/modules/pages/product_info file.
Still having the IE issue though.
Thanks,
TheDiva
Yes, this is a bug in the lightbox code, the close button is a link to the same page. There is an onclick event for this button that overrides this behaviour, but sometimes it doesn't want to work. I've got no idea why that is, it could be that there is some conflicting code that stops the binding from occurring. Anyway, the solution to this is to change the label from being a link, to a div in the javascript. This prevents this from ever happening.
I have have IH2 2.0 and Lightbox 1.4 installed on 1.3.8. I installed IH2 first and got that working properly. I then installed Lightbox. Somewhere in this thread there is a zip file that I installed due to Lightbox not working correctly and that seemed to solve all issues and got things working correctly. (additional images zip file)
I wish I could be of better help but I am NOT a programmer in any way shape or form. I spent most of today fooling around trying to get it to work, back and forth between Hoverbox and Lightbox. One issue I ran into was that files conflict so if Hoverbox was ever installed all files need to be deleted as well as sql.
I know the first couple of times I tried to install on my test site I missed files or put them in the wrong places. I think, I don't really remember because I have done so much work on the site today (I'm confusing myself, lol) that I put some of the include files in template_default as well as my custom folder. You could try that to see if it helps.
Heather
Im talking about the first issue, where you click the close button and it redirects you to the home page, it happens in opera as well. I presume the script encounters an error during the close operation and then when it terminates it doesn't send false to the link, so the link activates. That is why it shouldn't be a link.
Ok, I had to install this on a fresh install, couldn't get it to work properly and then decided to compare files from the old install that worked and the new one. The new now works. I don't know why I added files, but I know it works so here is my file structure that doesn't match the install instructions.
includes/modules/additional_images.php (zip file found in this thread)
includes/modules/classic/additional_images.php (zip file)
includes/modules/YOUR_TEMPLATE/additional_images.php (zip file)
includes/templates/template_default/css/stylesheet_lightbox.css
includes/YOUR_TEMPLATE/css/stylesheet_lightbox.php
includes/YOUR_TEMPLATE/jscript/ (all files) (will make the IH hover work)
includes/YOUR_TEMPLATE/templates/tpl_modules_main_product_image.php
These are in addition to what was in the install directions. I don't know what did the trick, I don't really want to fool around to find out, lol, my eyes are crossing. Alex, I hope that helps you. I love this mod! It really sets my site apart from the others.
Now back to my other problem.......
Heather
I have a flash header that uses jscript and now I'm wondering if there is a conflict between it and Lightbox.
Am I the only one who is having or who has had an issue with Internet Explorer and Lightbox?
Any help Please!
TheDiva
That is a distinct possibility- have you tried disabling the flash's js to test?Quote:
I have a flash header that uses jscript and now I'm wondering if there is a conflict between it and Lightbox.
Hi Kim,
If I remove the SWFObject file from the Jscript folder I no longer receive the error message in Explorer. But then I no longer have my header flash, just text.
I've also tried modifying the tpl_header.php file but that didn't help.
Thanks,
TheDiva
Hi everybody,
This contribution is AWESOME!
The ONLY problem I have. (see if someone can help me)
And this is a particular error that comes up because of the item title
Example:
Item Name
PHOEBE, 2.5" Heel Satin Marabou Slippers
shows under the pop up picture cut off to
Add to Cart:
PHOEBE, 2.5
VERY clear that the [ " ] is causing the problem, which I can not figure out where to fix it
The symbol " in my particular stands for inches, where now is kinda pain in the :censored: to change that in more than 300 items :cry:
ANY help would be really appreciated
Sincerely
Marcelo
Thank you Alex for your prompt lightning response!
Yes I have dowloaded yesterday. problems with additional images but resolve.
Also running IM2 on cherry zen template
site located at www.ysandals.com
Thank you so much
This is my issue and it may have been covered. I installed zen lightbox but when you go to zen lightbox configuration there is nothing there. It seems to be working ok, Could you please tell me what I did wrong for there not to be any controls there to set.. Thank you
I did a fresh install on a new site that is not open to the public yet. www.worldclasspromos.com/index.php
#1. I installed IH2 and it worked perfectly as expected. #2. I installed Lightbox 1.4 the Lightbox portion works great as expected.
But the small image zoom or pop-up is now broken. Double checked the settings with 3 - 1.3.7 sites that work with older versions of Lightbox (see tagline) and except for the new features all settings are the same.
ZenCart 1.3.8 - Linux PHP 4.3.11 MySQL 5.0.45 GoDaddy Economy Hosting
mods installed in this order:
iC-AcadameV1.2F Template
Simple Google Analytics
Goggle Sitemap
Image Handler2
Lightbox 1.4
So I read back on older entries and did find some information on additional_images.pho zip but where is it. When I search this thread the only instance of this file name is in the original thread http://www.zen-cart.com/forum/showth...=45314&page=85 by "hdonald"
Any clue?
JOhn ><>
Page 74 message 737 by lankeeyankee
I dolwloaded zip file additional)images.zip that contains the PHP and downloaded into both the custom template and original zen cart template
lankeeyankee, it worked for me.
http://www.zen-cart.com/forum/attach...0&d=1192712711
Does this file go in "includes/modules/custom_template" folder?
JOhn ><>
John
/includes/modules/YOUR CUSTOM TEMPLATE FOLDER/additional_images.php
I personally added in case at
/includes/modules/additional_images.php
May be an extra file but did not hurt my page
But worked for me
could not and do not have the time to rename all the files at this moment 963 pictures is not fun
Hope it works
This file replaces the orignal file form the cotribution and this is the only one I have changed
And I removed first and the installed this one. Did not overwrite it
Sincerely
Marcelo
bump FOR MESSAGE 859
I have installed Zen Lightbox and it works absolutely fine with the main product image.
But for additional images, the Lightbox opens and the circle keeps moving but the enlarged version of the image is not shown.
Can anyone guide me how to fix it?
URL of a product with multiple images:
http://starruby.in/store/index.php?m...&products_id=6
Rgds,
Harshil
I would try to reinstall it again along with IH2 which gives you a cool presentation.
Indeed I can see your problem on my site.
Marcelo
It is nothing to do with the lightbox mod. Try switching off javascript on your browser and then click on the bottom right image. It isn't the same image as in the picture.
Basically the lightbox is looking for an image in images/large/fac... but no such image exists, so the lightbox hangs. Try copying your large image to "http://starruby.in/store/images/large/Faceted-Rubies/2.32-carat-oval_001_LRG.jpg"
I have installed Zen Lightbox version 1.4 today and have it working except for a couple of minor inconveniences. I have been trying it on IE7 and also have IH2 installed. I am new to ZenCart, and am still working on getting everything set up to turn it on.
1. The Close image at the bottom of the large image is just an X, no words.
2. I have the Close on Overlay Click set to True, but it will not close the image if you click on the picture. If you click on the area outside the picture it does close it.
I am sure these issues are the result of something I have done incorrectly and would appreciate any help in resolving them.
I am loving ZenCart, and also loving the add ons that I have added on, it makes the ecommerce venture relatively painless and enjoyable.
Thanks for the help!!
Ken
Hi,
I'm sorry if this has been asked and answered...but does this work on 1.3.8?
If so...I have IH2 installed, what do I need to do make them work together?
Thanks,
Kelly
It does
I am running both.
Marcelo
www.ysandals.com
PS: The ONLY minor inconvenience oartially resolved is the Product Name in my case always makes reference of the heel hight in inches with quotations [ " ] what makes zen light to cut off the product name after the that. Resolved with 1 (two) single [ ' ]
The size I set up was 650 pix high and blank on width. I have to reformat all pictures due most of them were 4 MB to 40Mb each adjusting all to again 650 high which gave pictures no more than 60k and some 100k which I am happy with that
Can you give us your php and mysql versions and other pertinent server data. Haven't had any success getting both to run on our servers with 1.3.8.
I have the contribution installed on a clients store we're working to get up.
All the install went flawlessly! GREAT work!
I do have one issue. When you click on an image, the menu shows up in front of the lightbox. I could wrangle my way through it, but thought you might have a quick fix directive for me.
Thanks!
I solved this problem by making sure the Zen_Lightbox folder was inside the template_default folder.
The actual location is as follows
/public_html/install directory/includes/templates/template_default/images/Zen_Lightbox
I am not sure why it needs to be there, as I thought it was all running from my modified template directories, but what the heck, it works.
Now if I can figure out how to get the Large picture to close when clicking inside the picture. I have the setting set to TRUE, so am looking for ideas on this one. If I click outside the large picture it will close, but not from within the picture, which is what I thought was suppose to happen.
I'm having trouble with the lightbox. As is the case with many other users, it's caused my additional views. My additional views were working fine, but now they're starting to load REALLY slow when I try to access the next image. Often times, it'd just freeze.
I'm not sure why..
Does anyone know if it's possible to configure the lightbox to the product listing page? Currently my product listings click through to the large image, I was hoping to set this up with the lightbox.
http://dev-catalog.generalpants.com....x&cPath=23_31/
I think that can be done with the same methode I used on my "additional" pages.
Just copy the Lightbox code from any of the files in /includes/modules/pages/......
and insert it into the product listing page.
Then put rel="lightbox[gallery]" into the image link.
Don't know if it will work but it's worth a try.
As you can see it works on my "additional" pages.
http://www.nintendo8bit.no/shop/inde...in_page=page_2
here's a link for reference:
http://wishgiving.com/shop/index.php...roducts_id=746
Hey folks,
I am having a problem with the overlay not covering the entire page. It seems to be short on the right side and the bottom side by about 20%. The page looks fine with Firefox but not with IE 7.0. Anyone have any suggestions?
You can check it out at www.penielproducts.com.
PS - The intent of the "Close On Overlay Click" button is to close the picture when the Overlay (darkened, faded background) is clicked on, not the picture itself. The two methods of closing the lightbox are with the "Close" button & the overlay. I don't know of a way to close it using the pic (like the standard popup method).
Thanks for future help!
I think that you have three problems
1) not all of your images are named properly (http://wishgiving.com/shop/images/bq028_01.jpg doesn't seem to exist) so they don't appear.
2) your server is very slow; it took about a minute to load this http://wishgiving.com/shop/images/rci001.jpg. (Godaddy by any chance?)
3) your images need to be optimised. That gold ring in the picture above is 200kb, it would look virtually the same if it was properly encoded at 50Kb
Right, it's not working correctly. Signs and Symptoms.
IH2 is installed and appears to be working fine (it's thumbnailing images OK).
The medium image is loading correctly on the product page.
The Lightbox is loading fine EXCEPT it is NOT loading image_LGE it is loading the original image.
I have the Additional Image attribute set to true, except the additional images don't load either on the page itself OR on the Lightbox overlay (no next / prev buttons appear)
I've tried looking through to find the answer, but honestly, I'm not sure what I'm looking for and there is a LOT in here :dontgetit
Help :huh::unsure:
Just test boxes that I'd rather not let the IP out. Unfortunately all the others have either Lightbox or IH2 turned off depending on what the customer preferred.
:frusty:
I've searched for hours and have tried innumerable fixes, so figured I'd go ahead and post here.
I'm running 1.3.6 with IH2 and Lightbox 1.3. So far, I've tried the site on four different hosting situations and it works on two of them (my business VPS on A Small Orange and my personal hosting account on HostMonster), but can't get it to work on my client's hosting (first HostGator and then HostMonster since it worked on my HM account).
It's a photography site, so I've rigged Lightbox to work as a sort of gallery. Except, the page stops loading as soon as it tries to load the additional images, both on the site and in the IH admin. I'm totally at my wit's end trying to figure out what's going on. I have no idea why it would work just fine on two different hosting environments and then not on two others.
Anyway, here's where it's NOT working (click the gallery links):
http://www.glophotography-vb.com/index.php
Here's where it's working just fine:
http://glo.cherrymama.com
I'm sure I'm forgetting to give some crucial information. =/
Any hints or tips would be amazing. Thank you!
Leila
Has anyone seen this problem before? I read someone else with the issue in this thread a while back, and Alex said he would look into it, but it didn't seem to go anywhere from there.
I am running 1.3.8a, IH2, and Lightbox 1.4. Everything else seems to be great except for this.
Anyone ... PLEASE !!!
Leila :clap:
excellent Design
Listen I think ( I am not a designer nor a programmer) you have an issue as stated before with additional_pictures.php
The same issue I had before. Is just one file is messing up.
back up and try to upload that file. The patch is the one I pointed out before in this thread. Like I said as soon I 'd overwritten this file all additional images popped up like pop corn :yes:
Marcos
www.ysandals.com
Hi All
Quick question installed zen light box today. seems that the close button on image window is out of wack it makes it very hard to close the image box. any idea's? im running 1.3.8a.
cheers
I'm also having one of the problems Marcelo63 is having
"I have the Additional Image attribute set to true, except the additional images don't load either on the page itself OR on the Lightbox overlay (no next / prev buttons appear"
Lightbox is running great, but the prev/next buttons do not appear. I've been combing these posts and have tried several fixes (including a re-install) and I just can't get those buttons to appear. Any ideas???
Here is an example:
http://buy-adornmejewelry.com/Jewelr...&products_id=3
Thanks you your help in advance! Tracy
This is from Alex Clarke's post #725
Quote:
To get the images (next, previous and close buttons) to display, you'll need to copy the zen_lightbox folder (found in includes/templates/your-template-name/images) to includes/templates/template_default/images. That should sort it out for you. I'll be fixing this issue in the next release.
Found a new lightbox in the downloads that cured all the ailments AND you can remove it easily if you don't like it. It will also help you remove 1.4 if it's already installed.
http://www.zen-cart.com/index.php?ma...roducts_id=830
I am getting a 2nd image that never loads.
http://www.allforyourwedding.com/~no...roducts_id=990
Any suggestions??
Hi all,
I am using ZC 138a with IH_137 and Zenlightbox 1.3 (www.clickyshop.com/shop)
Please try to large an image, what still is seen too is the grey category header....any idea how to fix this?
Thhank you very much for help.
regards,
kruna
Hello Pros,
I am setting up a site and am having difficulty with the zen lightbox staying behind the navigation bar layer when you click on the product image.
http://www.foresthall.com/store/inde...&products_id=3
I saw the lightbox instructions to hide a .class and was able to figure out that there already existed a "clearfix" class which was my header. I put that class into the Configuration>Zen Lightbox and it works but as you can see, it hides the header. What I want is to hide the row of navigation buttons.
I believe these buttons are in <div id="navEZPagesTopWrapper">. How do I create a class around that div? I don't know where to find where that is being created. Can anyone help?