Its updated as 1.6.1 now.
daniel
Printable View
Daniel,
You may have realized this already, but it just dawned on me.
Close on Image Click may not be compatible with the new version of Zen LB, if you were thinking about working on it, because of the new Prev Next clicking style (half-page clicks when additional images exist).
well i just installed a new zen cart 1.3.9h for a person and then did lightbox (1.1.5) and IH2 (also the previous version not the brand new one).
When testing hers works great, click image get pop up -- click product page topper image and it opens into lightbox>next/ prev buttons work flawless and when click image or overlay it closes the image
same set up on my store--fantasies realm.com but the overlay click closes the image NOT so with the click on image and both are set to true in admin
so will give this updated version a shot and hope it comes back...
It would be great---unless I don't see where it is--to have a spot to announce the updated add-ons when they get posted.
Thanks for mentioning it here though.
1.6.0 of LB that was released a couple weeks ago did not contain the code for closing LB when Click Overlay or Click Image. Daniel added the code for Click on Overlay close to another release which he called 1.6.1, and there was a link to it a page back or so in here, but Click on Image close is still up in the air because it may conflict with the new style of Prev Next buttons (half pages to click for Next or Prev).
Yes, admin controls are the same, so with 1.6.1 you will have functional Click Overlay close but Click Image close is dead for the time being.
We were actually just talking about this in the post before your post.. :smile:
@finlander:
ok, the one I downloaded from the mod area is 1.6.1 I have not had a chance to upload the file to see if it works or not...still no idea why my store stopped with the click on image close but it works on the brand new store i just installed...lol
well if weird is going to happen it will happen to my store.
fortunately this is a minor issue with my LB at the moment...as long as they click the close button or the overlay then all is fine.
I love this mod and IH2
Love this mod! I have a couple questions and an issue.
Stats:
ZC 139h
LB 1.61
PHP 5 something
Question 1: My attribute images aren't "lightboxable". Should they be? Or do I need another Mod for this? If so, is there a Mod that is compatible and integrates well with LB?
Question 2: When I ran the install script from PhpMyAdmin, I got an error. So I pasted the code into the zc admin. It said "4 Statements Processed". Is that correct? It seemed like a lot of code to only be four statements.
Issue: LB doesn't handle my gift certificate images the same why it handles my other product images. I've tried moving the images between various folders with varying results, but none of the results are what they should be.
What follows are three things I've tried, results, links to examples and my ultimate goal. Any assistance is appreciated.
Product Image and _LRG image both in GV Image Folder:
When product image is clicked, LB displays a small image instead of a large one. Also, a medium sized (i.e. squished and horrible looking) version of the _LRG image shows beneath the product as if it's an extra image. When clicked, LB displays the _LRG image. Example
Product Image in GV Image Folder & _LRG image in _LRG Image folder:
Only displays the product image on the product info page
(as it should), but when clicked, LB only displays that same size image - it fails to display the larger image. Example
Product Image in Main Image Folder & _LRG image in _LRG Image folder:
When product image is clicked, LB displays the _LRG image (as it should). However, it also places the product image beneath the product as if it's an extra image. When clicked, LB displays the _LRG image for the NEXT image. (i.e. Instead of a $25 gift certificate, it shows one for $250. Example
Goal: To have only the product image display on the product information page (no additional images unless image attributes are present or the product actually has additional images), and to have LB display the _LRG version of the image when the
product image is clicked - Like it does for my other product images. Example
Hi ScriptJunkie,
as far as I know you are seeing the proper behavior of the additional_images scripts.
If you have only the one (properly sized image gv5.png) in your folder then the code will load that one image into lightbox.
but as soon as you have 2nd image with the same first part of the name (gv5_LG.png) then the code automatically thinks there IS an additional image to load. in this case it things the LG image is additional so its going to get loaded 2nd and that little one will be first.
if you delete the smaller image (gv5.png) and rename gv5_LG.png to gv5.png I think you will see the behavior your expect to see.
Daniel
I upgraded to the latest version of zen lightbox from and older version. On the old version I had close on click set to true and it worked fine. In the latest version I have it set to true but it no longer works.
:clap: Can't believe i did it:) .Thank you so much for your addon and you definitely deserve some donaz!
Update
ScriptJunkie Posted
Discovered that LB does handle my gift certificate images the same way it handles my other product images - I was just unable to see that in action because my other test product images don't share similar file names as the gift certificates do. (i.e. GV25.png and GV250.png for $25 and $250 gift certificates).Quote:
Issue: LB doesn't handle my gift certificate images the same why it handles my other product images. I've tried moving the images between various folders with varying results, but none of the results are what they should be.
The issue was not caused by having GV25.png and GV25_LRG.png in the image and _LRG image folders respectively. It was caused by having both a GV25.png and a GV250.png in the main image folder, and a GV25_LRG.png and a GV250_LRG.png in the _LRG image folder.
End result: If product images are in the main image folder, and their "zoom" versions are in the _LRG image folder, Zen LB will handle them appropriately, so long as different product images do not share a similar file name.
Wanted to clarify for other posters that the issue here was not a Zen Lightbox issue, but rather a file naming issue.
Thanks Daniel, for pointing me in the right direction with your advice :smile:
You are right.. Additional images management is part of core Zen Cart fucntionality, and LB only works WITH this. Might help you (and others reading this thread) going forward to read up on how Zen Cart manages additonal images..
Image names are how Zen Cart "recognizes" and associates images with a product.. These FAQs may help..
Why am I seeing images for other products on my product pages?
How do I add multiple images to a product?
Thanks Diva, I'll be sure to read those over :smile:
I've heard about a mod that I think is supposed to make additional images into links so they can be clicked to see a larger version. I just don't know if it's compatible with LB.
My understanding is that it somehow modifies the additional images so they are the same as the product image (click-able images) with a "larger image" link beneath, enabling one to view larger sized images of the attributes.
But at this point, I've read so many posts about images and mods that I can't even recall what I've read or the name of the mod. Think I'll take a break and then snoop through the mods to see what I can find.
The highlighted part is default Zen Cart behavior for additional product images.. Attribute images are different.. So perhaps the module you are speaking of affects attribute images in the manner you describe..
Might be best..:laugh:
no problem...it was working before this last update for zencart then that is the only part that quit working. I never had a problem with it at all...all parts worked flawlessly. I take that back in the beginning I had no next buttons or prev but that straightened itself out with 1.3.9 the very first one.
I can live without the click image to close thing not working it is a great mod...just curious why the brand new 1.3.9h it works but not in mine of the same version...lol
I too, had the same error #1146 with the same message. I have read through this thread and found a few explanations, but none of them worked for me. I ended up comparing the install.sql file that comes with the 1.6.1 release with the older 1.5 version's. I found them to be nearly identical except for the parenthesis:
INSERT INTO `configuration_group` VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox settings', '0', '1');
UPDATE `configuration_group` SET `sort_order` = LAST_INSERT_ID() WHERE `configuration_group_id` = LAST_INSERT_ID();
SELECT (@cgi := `configuration_group_id`) FROM `configuration_group` WHERE `configuration_group_title` = 'Zen Lightbox';
My Zen Lightbox was working until recently. I noticed the other day that there was a compatibility issue with the new Chrome. So after finding the recent Light box update, I decided to do a full reinstall. I usually use phpMyAdmin to upload the install.sql files. However, in this circumstance I was unsuccessful with this method. After some looking around and some trial and error, I applied the two parenthesis and then uploaded using the Zen Cart admin option. Not quite sure why this worked, but felt I should share my experience with the #1146 Error. Please let us all know if this fixed your error.
1.6.1 is almost working perfectly with 1.3.8a. My previous, next and close buttons are not displaying. If I hover over where they should appear, the link or anchor is in tact and functional! Just wanted to let you smarter code guys know in case that helps with a clue. If anyone has figured out how to make the navigation images appear, I thank you ahead of time!
I wonder if someone can help me with a lightbox problem, i have searched but found no answer as yet.
I am setting up a site using
Zencart 1.3.9h
Lightbox 1.6.1
My problem is that lightbox only works with additional images.
The main image is still opening in the popup window.
What must i do to have all images open in lightbox??
I have checked the lightbox installation and it seems to be ok.
I thank you in avance for your input.
Hi,
its not live yet but i have turned it on for you to see...
www.castilesoap.co (NOT COM)
No, nothing else at all
Hi DarkAngel and Others that are looking for the close on click image functionality.
I have successfully modified slimbox.php to accept this parameter.
The issue now is, as suspected, the hover (Prev / Next) functionality is broken.
I have worked through this by carrying over mods from ZLB1.5 css file which removes the hover functionality all together and permanently adds the Next and Prev buttons to the upper corners (when needed for additional images).
As a personal preference I dont like the buttons to be on there all the time, but if thats the preference of the ZLB user community I can easily set it that way.
Thoughts / Opinions / Suggestions?
From a usability POV, it is not always obviously apparent to lay users HOW to navigate to additional images without an omnipresent "hint".. For my own personal usage I always hover to see if there are additional navigation options in a lightbox, but not all lay users think to do this.. Is making this an admin controlled option a possibility.. this way you could split the difference.. Tjose who want the buttons always visible can have it, and those who only want it on hover can have it that way..
Just my three cents..
good point. I usually look for a close button anyway but having the click image to close is nice for those that do use it but not necessary.
it works great in every other respect and I for one would just leave as is...anyway I just found out by accident that if you click the center or center bottom of the image it does nothing ----but
click either the right side or the left side of the image will also take you to next or prev images...it all works in the end.
Good Idea!!
I have a testing version I'm working on with a new admin parameter "Always show Prev / Next" (sound like a good title?) with a default of false.
I was able to add a check for that parameter AND the image close parameter in the autoload_default file to load updated css instructions and now the Prev/Next buttons show "always" IF either "Always show Prev / Next" is true OR if "Close on Image Click" is set to true.
Does that sound like it will solve the main issues?
Daniel
Hi Daniel
i found my problem. It seems that tpl_modules_main_product_image.php had not been over written. I noticed the difference in file size, changed it and now everything is working great.
Have a nice weekend
.. Daniel, trying to get my head around all these controls you've added .. do I understand correctly that the LB can now be set to behave the old way OR it can now be set to behave the new way?
That is, the new way of hover Prev/Next and click on 50% of image, is still an option, and all the old fixed-position Prev/Next with old Close-on-Image-click and advance image only by clicking on actual Prev/Next, is now also an option?
In other words, total new way and total old way are now both options?
Hey finlander,
It sounds like you have it basically figured out.
The only thing that throws me is the reference of "old" and "new"
The "standard" (what I would consider old) behaviour is the hover functionality as it goes all the way back to the original lightbox that slimbox and others are based on.
The 'new' controls I'm working on will allow an 'always show previous and next buttons' option so the hover will get disabled. It will also go back to respecting the close on click image parameter.
daniel
daniel, my mistake, yes, I was referring to the 'always showing' Prev/Next when I said 'old' way. I didn't know that hover to show Prev/Next ever existed before 1.6 -- the only way I've seen LB before 1.6 was the Prev/Next always showing. I figured the improvement of 1.6 was to make it hover-show, so that the Prev/Next images would not obscure the product picture.
Thanks again for all your work on this one! It's installed and working great, and when your changes are final, I'll drop them in for the added configurability.
HELP!!! I installed this mod and now my site is coming up completely white!!! I tried removing the sql patch with the uninstall file and no help. I tried doing a restore and get errors! I don't know what this did but please help me get it out!!! I need my site back! I'm using the current version of zen cart and my site is http://balticcreations.net
balticcreations,
Did you rename the three directories that need to be renamed? Renaming them to the name of your own custom template name? If you use a foreign language (other than English) then that one directory needs to be BOTH created/put in the directory tree of your foreign language and also renamed.
Did you open any of the files from the install package and resave them with a text editor? If so, which text editor did you use to resave them?
Did you receive ANY type of message when you ran the sql command (to insert the lightbox menu in admin)? Did you receive a 'success' message that sql statements were processed?
Yes did all of the changing of names then zipped the folder back up and uploaded it to my server. Extracted the files, ran the sql comments instead of downloading it but didn't edit anything. I did have a bunch of long notes on the sql page but it said 4 statements were successfully added. So not sure if the error was in there?
Glad they got it fixed!
What other add-ons do you have installed?
I'm curious about that install procedure you used. To me that sounds like it could have replaced your includes folder with the one in ZLB1.6 instead of merging it like a good ftp program would.
if that was the case it for sure would have fried your site.
can you give any more info on how that works?
daniel
if the 4 statements were processed then that should not be the problem, but you said you made the renames and then zipped the files back up and uploaded to your server? And then unzipped? At first blush, that I think is source of the crash. Rezipping and then FTPing the rezip and then unzip to populate the directory trees with the files is not a good idea. The files should be uploaded in native form after you have completed any work locally that needs to be done, such as the renaming of the directories. I'm not saying your method doesn't work, I'm just saying it looks like an invitation for problems .. just my two cents.
good point, daniel!
the unzip may have populated the includes directory from scratch, i.e., not merging of existing directories/files with the directories and files being unzipped.
It probably did, I have optional shipping insurance (that one took a while had to manually add each file), stock by attributes, layaway (a pointless mod) and I think that's it.... my reasoning for even trying to add this mod is my background picture shows in all my pop out boxes. thats really driving me nuts lol
Lesson learned for sure :)
1) invest in a good FTP program they are really your friend with stuff like this.
even uploading these add-ons manually would be time consuming and possibly problematic.
a good ftp program( I like Transmit $34 for the mac) (maybe a pc user can point you to one if you need that) will have a Merge feature where it will analyze the folders that you are uploading and load the new files INTO the includes folder rather than overwriting the entire includes folder rendering your site useless.
2) always backup (and label them) before making these mods. It only takes about 1 minute to make a good backup with cpanel!
daniel
FTP program FileZilla for windows has always worked perfectly for me .. and it's free.
baltic,
for future reference, it probably isn't that filezilla isn't working right .. it's unzipping the package on your remote server that was the problem .. that likely created a new includes directory with only the lightbox files in it.
As daniel mentioned, that would fry a site. Just unzip locally, as you have done, and then FTP the unzipped files and directories all at once to your server. In filezilla, local directories on the left pane and remote directories on the right, and of course make sure you are in the same root in each pane when you do it, and then bingo, all goes well.
Hi Daniel,
Although, the "hover navigation images" option sounds great, I still have the same problem with the images appearing at all. This is a compatibility issue and only occurs with Chrome. The navigation buttons show in all other major browsers. Please check again with the newest Chrome browser and see if you get the same reaction.
If you choose a model from the featured section at the bottom of the home page, there should be an additional image tab with those products. I can see the link appear at the bottom of the page when I hover in the correct area, but I get no image.
Sorry for the delay in getting back with you, I was looking for a PM and didn't check main forum until now (my bad).
Thanks!
You do mean the store in your signature...right?
I went there and both my mac with older Firefox and the pc with lates browsers I get the lightbox to work...
do you have more than one image for your products? IF so then where are they located---same folder as the main one
are they named right, with the nameofimage_01.jpg (or the extension of the main one), nameofimage_02.jpg
does the extension for them match the main image .jpg for main should have additional ones .jpg also or they will not show up at all
no spaces in name or special characters either
also if there are no additional images and just the main one then the prev/next buttons are not going to show--or shouldn't anyway
Hi Jeremy,
Looking at the source for your site all I see that would be causing this behavior is the admin parameter "Include Main Image in Gallery". Can you double check that this is set to true?
your first image looks like this:
"images/products/tes7133.jpg" rel="lightbox"
and the additional image looks like this:
"images/products/tes7133_01.jpg" rel="lightbox-g"
the important part is the rel="lightbox"
when the "include main image in gallery" mode is enabled
the first image should have re="lightbox-g" in the code.
therefore linking all of the images together
daniel
First to answer your questions: Yes, the store in the signature is the issue. Yes, I have more than one image for some of my products (example: any plane model in the featured section at the bottom of the home page) and they are located and labeled.
Everything worked with Zen Lightbox 1.5 until Chrome's most recent upgrade. Now, I have installed Zen Lightbox 1.6.1. Everything works perfectly in all the browsers except Chrome. The only issue is in the instances of additional images. When I hover over corners of the ligthbox image, the navigational images (prev,next and close buttons) do not appear.
Thanks for your help!
I'm having an awful time trying to install zen lightbox 1.6.1 on Zen Cart version 1.3.8a.
I keep receiving the following error message:
1146 Table 'campbena_zen.configuration_group' doesn't exist
in:
[SELECT @cgi := configuration_group_id FROM configuration_group WHERE configuration_group_title = 'Zen Lightbox';]
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.
I know this table exists. Is this issue due to the fact that the MySQL library version 4.1.22 differs from the MySQL server version 5.0.90??:cry:
problem solved! I finally found all the bits of advice re. adding prefixes and installing via myphpadmin.
:clap:
Hi All, I have a beta of 1.6.2 ready.
PM me if you want to try it out and let me know if you find any issues.
Daniel
Few quick questions...
I currently run lightbox on my sites (DriftBuildstore.com) and was wondering what are the benefits of upgrading to the most recent version and also how difficult is it to upgrade?
The 1.6.x upgrade was originally for ZC 1.3.9 which broke some of the ZLB 1.5 functionality in Google Chrome.
The upgrade itself isn't difficult, but its recommended that you uninstall all of the ZLB 1.5 files before upgrading to ZLB 1.6.
I should be uploading 1.6.2 in a few days, so you'd probably want to wait until then.
Daniel
I have a quick question.. I have zencart lightbox installed, everything works fine.. however, I just want it to be displayed on a single page.. not the defaults that are installed.... Is there a way to do this?
Awesome mod! Thank you so much for making this available. Love it!
lightbox is compatible with pink ashley them ?
hey dont work here :(
yes , i did
I'm having problems installing the zen lightbox. I thought I had the file structure all right when I transfered in all the files, This is my third time trying to install it. The first time left me with the admin window for it, but no zen lightbox working. Partly because I hadn't properly distributed the files where they needed to go. I renamed the three files to classic. Uploaded everything where it was supposed to go, then ran the sql patch again. it installed a second zen lightbox control panel with no functions. I don't know if I need to uninstall and try again, but I can't get the thing to work.
woohoo! I uninstalled and reinstalled it and it now works... awesome plug-in. I'm just getting started setting things up, but you can see it work on my site http://bloomingvinedesign.com/zencart/index.php
Thank you for creating this tool. It is really great.
This thread (though 238 pages long) seemed like the best place to post... :-)
I just installed Zen Lightbox on my dev environment and on my hosting environment (GoDaddy, yes, I know, I know but it's what I have to work with at his time) . Both environments are 1.3.9h. My dev worked great and yet my hosting environment install has Zen Cart working just fine but the lightbox is not working.
What is strange is that the Zen Lightbox menu item under Configuration in the Zen Cart admin isn't there on the hosting environment. I have checked the file install three times and even looked at the MySQL tables and they match.
No idea why it is still not working...
Any ideas?
Thanks,
Jeff
DarkAngel, thanks for the hints. There were errors so I uninstalled and reinstalled the sql for Lightbox and it seemed to go fine - until I checked the full tables spaces in each environment which helped me figure out why this is happening. The GoDaddy install creates the MySQL database (93 tables) with every single table name prepended with "zen_"! :frusty:
The Zen Lightbox install.sql file was writing to the original tables (without the "zen_" added) that I had uploaded from my dev environment. Once I edited the install.sql file for Lightbox to write to the "zen_" tables, it worked.
Which means I now have 186 tables in my database. I can probably delete the original 93 since they are not being used but why does GoDaddy or any other host modify the table space anyway? Any Add-on SQL script will need to be modified to make the install work - as in this case...
Hmm...
Jeff
Not the place to discuss the merits of using a table prefix (which BTW is the default option when installing Zen Cart), but I will say this, this last part is not true..
When installing Zen Cart addd-ons, if the SQL is written correctly you should be able to run it via the Zen Cart Admin's SQL update tool and it will properly add the table prefixes
Though I am not a newbie to database structures (admittedly old-school - yes I programmed with punch cards freshman year in college), I certainly am a newbie to both PHP and Zen Cart so I do appreciate the info.
I stand corrected on both counts... http://www.zen-cart.com/forum/images...s/big_grin.gif
Thanks again for the help!
Jeff
I really like how this mod works, but I'm having one SERIOUS problem.
I have an English/French website.
In English, everything works as planned.
in French, not only does it not work at all, it hides ALL my images.
I have duplicated all the english folders to the french, so I have
includes/templates/My_Template/buttons/...english and french
includes/languages/.... english and french
Is there something I'm missing?
Hi all, just wondering what the latest stable release of Zen Lightbox is? i downloaded it from the Add-ons section last night, installed it, and it turned out to be version 1.5
Trawling this thread found me version 1.6b - I d/loaded and installed that instead.
Reading further on I found an updated link - 1.6b2
So.. what exactly is the latest version? :smile:
Thank you,
Scott.
Hi, I am running lightbox version 1.5 on zencart 1.3.8. Went onto my site www.corset.ie only to find the lightbox has stopped working. It was running fine last night and I have not touched any of the files. Any ideas?:(
Exactly what does this add-on do?
Any place I can see a demo?
Yes :) See a product in action (click the "larger image" link) or indeed, click any of the size guides and you'll see the effect.
You can, in fact, apply it to any image. Here, I have embedded a Picasaweb image gallery, and an using this plugin to show the full size image. Note that you can also click through the large images with the left and right arrow.
Yes, I agree. You definitely want to be using the jquery version, not the old mootools version. It doesn't work in IE9 either.
Purely out of technical interest, I'm going to spent a lot of time going through your site, to check which images work.
For example, I've been examining this page in some detail, and there's definitely no issues with enlargement from a personal perspective :thumbsup:
But seriously, if you get stuck, post back here. I've been spending some time getting my lightbox working perfectly, so I think I'm fairly familiar with it now!
I got the zen light box working on my site, but it does not work for the main image, only all of the extra images. Is that how its supposed to work? http://bloomingvinedesign.com/zencart/index.php
It is really an awesome plug-in. Thank you for creating it.
Hi bloomingvine, it looks to me like you missed one file during the install.
Check your server and see if you have: 'includes/templates/[your_template]/templates/tpl_modules_main_product_image.php'
this is the file that makes the main image react to the lightbox code.
daniel
I just upgraded from 1.5 to 1.6 to fix my Chrome issue (was just getting a plain white box). The upgrade fixed the issue in Chrome but now in any browser my EZPages are not working. It just pops up in a new window?? Any ideas? I checked the admin setting and its set to 'true'
See my Art & Patterns pages here:
http://bbmetalfab.com/metalart
did you have lightbox to begin with? the source says you have jquery too and that one tends to override any other one so you need either or I think
and
if you do have just lightbox installed, did you run the uninstall sql before upgrading then run the new sql?