Alex, do you have a demo of Zen lighbox working?
It is ibox modified to work with Zen Cart?
Thanks!
Printable View
Alex, do you have a demo of Zen lighbox working?
It is ibox modified to work with Zen Cart?
Thanks!
Alex, thanks a lot for the time you spare to help us, i am waiting for the new release of your amazing module, I hope you can solve the problem with the IH2. I wish I can help, but i am a graphic designer, not a programmer, this is why I only have a Thank you for you.
Best regards,
nfn but if you are turning OFF the resizing option then you arent really using IH2, at least not for what most people use it for, and so why bother installing it i the first place, imo
i have found that ih2 installed or not, if i dont have that products picture in all three folders, it doesnt come up. its so odd. and sometimes my other images come up but not the main image.
I'll have a demo on my test site when I complete the 1.3 release. At the moment I looks like 1.3 will be here by the beginning of next week.Quote:
Originally Posted by Linux
Don't worry... IH2 support will be here soon. :)
It's not ibox, but infact based on lightbox js.
Did you ever get this figured out? I am having this issue as well :(Quote:
Originally Posted by TigerOne
Thanks :D
No I tried tweaking the CSS a bit but did not find a solution so I ended up removing the mod. If anyone can find a solution I would like to hear about it because I really like the mod but having a strip down the right side of the screen when the larger image was displayed just didn't look good.
Maybe other are also having this problem. I know I've seen a lot of sites using it where it did work fine so I know it is possible but I could'nt find the problem.
The way I am using the two is I am letting IH2 create my thumbnails. Then I have lightbox pulling the original large image for the blow up. So IH2 isn't creating the enlarged image on the fly. Plus I had to modify it to work with 1.2.7. But that was easy. Only had to modify a couple places.
Hi Alex,
I just installed your lightbox on a zen cart 1.3.5 (without IH2). I found it working on other websites linked in this forum, and was amazed. Really nice work! :yes:
Unfortunately it didn't work on my site. After testing around I found out, that it depends on product type. All my articles are of document_product, because these are ads, and there's no shipping. If I create a new item as "Product General", it just works fine.
I've tried to find anything in the scripts that looks like "product type" or something, but there seems to be nothing like that.
So Alex or anyone else: Have you an idea, where the difference might be? :down:
Keep up the good work!!!
songrider
I had the same problem, all you need to do is copy jscript_lightbox.php from
zen_lightbox_1.2.rar_FILES/includes/modules/pages/product_info
into includes/modules/pages/documemt_product_info/ or any other product type you wish to use the lightbox with.
Hope this helps.
WOW, that's it ! Thank you, springfield! :clap:
Greetings to all zenners
songrider
Hello,
To integrate this super contrib to a zen 1.2.6 witch file do I must change ?
tpl_modules_main_product_image.php ?
Thanks in advance
Chris
I think what Lala_G_Clef_Jewelry mentioned points to the problem. Light Box seems to read large sized images from the images/large folder. IH2 places large (and other) images in the weird bmz_cache folder using a filing system I'm not too familiar with.
Unless either Light Box can take images from the IH2 folders, or unless IH2 can place large images in the images/large folder, I don't know that these two would be able to work together.
Don't worry people... I'm not dead! (just really busy with work at the moment).
I've been working on adding support for IH2 and feel that I need to rebuild the contribution from the ground up using different core jscript files to create the 'lightbox'.
This shouldn't take too long and I'll try and get something uploaded before next week.
Got a quick question... If I made a ez-page for a art gallery or something like this how could I give those images the "lightbox effect"? Would it be possible with out tons of changes?
Also can't wait for the IH2 support keep up the good work!
Version 1.3 is here!
Firstly, a special thanks to Chris Boylan (aka boylan) for help with Image Handler 2 support.
Secondly... go grab 1.3 and have some fun!
http://www.zen-cart.com/index.php?ma...roducts_id=273
Most of the bugs/requests have been addressed in this release. However, if you feel that something is missing or would like to request a feature please post here.
Hmmm except the whole lightbox is still aligned to the left in IE. Works great in FF though. In IE, the black background behind the image doesn't cover the whole screen, only about 3/4 of it. There is a big strip on the right side where it doesn't cover.
It works!!! it WORKS!!!
this is the bestest!!!
thank you so much alex!!
i have this running with ih2 and guess what? IT WORKS!!! not only does it work, but now my addtional images that werent showing before are now showing!!!
you rock!
and a special *huggles* for Chris too!!
im soooo excited!!
(hey im a sahm w/ 3boys, it doesnt take much to make my day...lol)
Thanks for doing this.
But a question: for some reason I'm seeing the thumnail (i.e. product listing) image, but not product info page images (the medium size). The text for "click for larger image" or whatever shows up, so I can click on it and it brings me the image in larger size with the light box. So I'm wondering why the medium sized images aren't showing up.
That said, the medium sized product info images do show up if I had manually uploaded the image_MED to the images/medium folder.
I tried this both with IH2 uninstalled and installed, FF and IE, and the same thing happens.
hmm..for some reason i can't extract the files from lightbox1.3. i'm using winrar and it says the headers are broken for the files when i try to extract. this has never happened before..any ideas?
Thanks, you solved a problem I didn't even know I had :D
I am using IE6 and the strip on the side is still there. I am going to upgrade to IE7, but still, I would like it to work for everyone who doesn't upgrade to IE7 right away! I just can't figure out what the problem could be :no:
hey g clef your 'blog latest posts' box is a 404... has wordpress been good to you otherwise?
how long did it take to get your lightbox shining?
Alex, could you just tell me - is LB designed to do the same action as the default ZC image display setup, where on the product info page it checks for the _MED image and if nothing is there it displays just the base image? Or if "larger image" is clicked it checks for the _LRG file and if that's not there, it defaults to showing the base image? Because the way LB appears to be set up right now it checks for the _MED image and if it's not there it doesn't default to the base image, though if there is not _LRG image it does default to the base image. At least this is what I'm seeing.
At the moment it works the same as the zen_image function. Which version of Zen Cart and Zen Lightbox are you using?
Also, do you have a link to you site?
PM was sent. I'm using ZC 1.3.5 and the latest Light Box.
For those that don't have a RAR program, I've upload a Zip file of v1.3.
As I'm not Registered for Module uploads, perhaps Alex could transfer it over?
Thanks for this.
Quick question to everyone... do we need a zip version of Zen Lightbox?
If so, I'll make sure that 1.4 (and any other updates) are compressed as zip files.
I would say 'yes'.
I do believe RAR files are popular in Europe whereas Zip is the preferred format in North America.
Well... I've certainly learnt something new today!
I'll probably compress future releases using the .zip format now, if it make life easier.
Thanks for the advice. :)
thanks for posting the zip version. i didn't even notice the different format. but, i guess that was it. not sure why my winrar program was not decompressing the other rar properly.
ok. just finished installing and it works great. but, i'm noticing that if i scroll down my browser a bit and then click to see the image, the black doesn't cover completely to the bottom. but, if i leave the browser scrolled all the way to the top, the black does completely cover everything. anyone notice this too, or is it something with my site?
Just installed on my site and it works great. In fact it works so well I found myself going from product to product just to see. I love how it handles additional images:cheers:
Ok, I'm becoming a quick fan of zen-cart, image-handler, and the light box.
I've installed all three, but I don't seem to have the lightbox working properly..
I've followed the instructions to the best of my abilities for image-handler and light box... are they a necessary combination? what is the best way to troubleshoot my problems?
you can see my site here: http://www.thinkHTPC.com
Would LOVE any help that is out there.
Thanks!
1. yes i know :( for some reason that posts url is wrong after wordpress it is a /? instead of a & and so it doesnt call right, ive tried reinstalling and alas it did not solve it, things were called right before i upgraded, so im not sure what went bonkers. OTHER than that, lol, yes it has worked well, she (the site owner) doesnt post much, but workpress has been very easy to use.
2. once we got the newest update for lightbox i had it running correctly in less than 5mins. i love it! it looks so awesome.
did you upload lightbox last? i *THINK* they share a file or two, and unless lightbox goes in last, your not going to get all the right things called....
i dont have any idea, thats just my stab in the dark... my site runs both ih2 and lightbox and it works very well.
hi alex
here's a link to one of my products (my site's still a bit messy since i'm not done yet)
but yea..try scrolling down to the bottom of the browser in FF and then clicking the image (the bottom isn't covered all the way)..same goes for IE. not sure what's wrong with my CSS. any help is appreciated.
http://style-scene.com/newshop/index...products_id=98
Ok, I see a gap around 5px at the bottom. Could you post your stylesheet (maybe attach it to a post)?
You can see it at:
http://style-scene.com/newshop/inclu...stylesheet.css
Hi,
Top work alex and others!!! I Love Lightbox with IH2 Support!
My Problem...
i dont know if this is a Lightbox issue ( i cant remember seeing it before i installed lightbox)
My LHS sidebox seems to slide right depending on the amount of login info in the header bar???
Any Ideas
ZC 1.3.5
www.rowanhilsden.com.au
Sorry for the dumb question, but what is a LHS sidebox? :|
Sorry alex, Left Hand Side ;). Just add something t the cart and watch.
I may not be a lightbox issue - i have changed the code so that the sidebox displays pic instead of just links... it may be in there somewhere.
I dont think Lightbox modifies any of the sidebox files does it?
Thanks again
Rowan
No sideboxes are modified.
I'll have another look at your site and post back. :)
Fixed it... Nothing to do withZen lightbox... CSS issue
Added #navMainWrapper {margin-bottom: 0.5em;} to stylesheet.
Glad to hear that things are fixed. :)
Ive just tested lightbox and I am really hoping that what I am experiancing is not the norm.
Unless you wait for the page to open fully then lightbox does not work and instead the image will load in the same window full screen.
A normal reaction from a user would be to close the window. They are then out of your site - customer lost!!!
I hope I am being dumb! Can this be prevented?
can you please post a link to your site so we may see what it is doing...
mine opens on top of my main page, but its really a floating page, so when they click on it and close the image it goes back to the main page....
Thanks for posting this. I think someone else mentioned this earlier in the thread.
At the moment the page must be loaded before the lightbox will be displayed. So yes, images will open in the same window if the lightbox js file has not loaded.
I was actually thinking about this last night and will be releasing a small update soon to combat this issue.
I'll work on this asap and get a new release up soon. :)
i guess i cant click an image fast enough to get it to do this...
lol guess that means all my hard work making my images how they are has paid off, lol
oh well. i tried...
Actually your site suffers from this very badly, your site takes a very long time to load. As such your users will experiance this problem.
But I would be suprised if anyone makes it to a product info page. Ive not sat around long enough to wait for a full page on your website to load so I could not really comment on your design - but you really should consider less is more!
Perhaps if you cleared your cache or have a look at your site on a different computer you would see that you have a lot of hard work to do! We are not all on 8mb broadband!
Alex if you sorted this problem I think this module would be awsume!!! Ive just put it on my test site and it really is classy - adds so much to it. I will owe you big style if you can fix this.
Thanks for your hardwork - :D
Every second that a your website takes to load you lose 10% of internet surfers.
Who's site are you referring to?
The 'G Clef Jewelry' site loads normally for me, less than 5 seconds using Mozilla or IE 6.
i clear my cache constatly to make sure css changes take effect, so im not sure why its loading slow for you.
and i test my site on three diffrent computers, one w/ XP, two with osX, personally and i have a few people that i call to test it too, none of which have any issues pulling up my site.
i HAVE had issues with my host being slow, i have had to call and ########## at them more than once because my site slowed down to a crawl...
Alex,
Were you able to take a look at my site? Any suggestions to changes that need to be made in my CSS to fix the bottom not being covered?
This is my first post so please bear with me. I love this mod. The only problem I have is it locks up when trying to open 2nd or 3rd images on the page. Hereis a page that I am talking about. If i have too I will remove Extra images. I do like this MOD!!
Glad that you're enjoying Zen Lightbox!
Did you install it correctly? Also, what other mods/contributions have you installed?
And finally... what verson of Zen Cart are you running?
I have ZC 1.3.5. I have added the folllowing MODS
News_Box_Manager
Printable Price List Ver 1.2
LOGIN Box 1.4.1
Flash Banner
Some Payment Modules/
Oh and a ask a question module
It is still pretty stock. I was just about to try to install IH2 and see if that helps. I am just wondering If I did something wrong?
Thanks In Advance.
I would recommend installing Image Handler 2.
See if that helps.
Also, when the lightbox appears on your site it is displayed under the flash banner (at the top). To work round this simply place your flash code (in your header file) inside the following tag...
Also make sure that the class flash doesn't exist in any of your css files.Code:<div class="flash"> your-flash-code-goes-here </div>
This will basically tell Zen Lightbox to hide any elements with the 'flash' class.
Hope this helps! :)
OK I will do that. Thanks for the quick help. Again I think this is a great mod. I will inIH2 and check the tags and let you know what happens.
OK I tried that. Now my computer is smoking and the server blew up. Just kidding.. The IH2 fixed the problem and the Flash tags hides my flash banner. Everything is gravy. I appreciate all your help.
SchultzIdeas LLC
Alex, please let us know if the ZC Light Box is compatible with ZC v1.3.6 which was just released. Thanks.
Ok, I got it to work with 1.3.6 but I had to merge the /includes/modules/additional_images.php files.
I was pretty sure that Zen Lightbox would work with 1.3.6 without any changes.
Anyway... I'm just upgrading to 1.3.6 (from 1.3.5) now and will then try installing Zen Lightbox on both my upgraded shop and a fresh install of 1.3.6.
I'll post my results back later. :)
How do I resize the image that opens?? It's too big because you have to scroll down to close the window. I've messed with the CSS lightbox file
Scrap the above, from reading all posts the large image is the size you upload it, which is fine. Before they we're just fitting onto the screen.
I need to move the popup image so it starts nearer the top!!! Also is it possible to do an onclick close image like the original popup???
Thanks
Hi Alex,
I've just installed it today and it works great!. Just a little problem with the 'wrong order of Additional Images'. It's a tricky one.
When I click on the 'Main Medium image', it shows the button 'Prev' instead of 'Next'. Which apparently is not right order according to normal human sense.
Please have a look at this link. then you will get what I mean.
http://www.theartofthailand.com/garu...-art-p-23.html
This is the paths of my images (Sorted by name).
Small
/images/3786.jpg
/images/3786_01.jpg
/images/3786_02.jpg
/images/3786_03.jpg
Medium
/images/medium/3786_MED.jpg
Large (Sorted by name)
/images/large/3786_01_LRG.jpg
/images/large/3786_02_LRG.jpg
/images/large/3786_03_LRG.jpg
/images/large/3786_LRG.jpg
** Apparently when you sort the images by name, The large image 3786_LRG.jpg will alway be the last picture. And that's why it show the button 'Prev' instead of 'Next'. I want this to be the first picture because it's linked from main medium image.
I think I have to work around the name of images as this problem is not caused by lightbox. But can someone suggest me how to do this please.
Regards,
Hey Alex, can you think of a way to use this for category images?
If people click on the category image they expect to be taken to the category, right? So would using Zen Lightbox to display large category images caue problems (navigational) for your visitors?
Also, can Zen Cart currently display a larger category image if you click on it? If so, the answer is yes - Zen Lightbox will be able to display larger category images.
Sorry Mali... I seemed to miss your post.
I'll look into this issue, but I think it is (as you guessed) due to the filenames of your images.
I'm planning on releasing an updated version of Zen Lightbox soon and if I find that the above is a problem/bug I'll try my best to fix it.
Keep watching this topic for an update! :)
Actually what I'm interested in doing is not using individual product images at all. What I'm wanting is to use small category and sub category pictures which are used to display applications of the product, which for my products are a far more interesting way to show them.
The issue is picture size. So the ideal is to have one or more 100 to 150 px wide pics for each category or sub-cat, the visitor can open these to large, higher res 500 px wide pics if they so desire.
Navigation issues aside at this point, I guess modifying the tpl_modules_category_icon_display.php? Any thoughts?
Still not working for me.. have no idea why..
installed IH2 first and then the newest version of lightbox.
Whats wierd is that when I load the Main image through the traditional add item method, it will show in lightbox and the additionals wont work.
When I use imagehandler to load all three images, none of them work.
Am I missing something? ... I am loading the images into a folder in the images dir
(images/books), does it matter where I upload them to?
here is a link to the store. It is not done yet, thanks..
http://www.thelab101.com/store/index...products_id=10
I'll look into this, but it'll have to be next week as I'm going away for a few days. Even away from the Internet!! But I'll look at this when I get back.
Do you have a link to you site in the meantime?
Have you setup certain product types? Also, what version of Zen Cart are you running?
It looks like you could have an out-dated version of additional_images.php
Post back with the above info and we'll try and get to the bottom of this. :)
Thanks for the Quick reply Alex,
I have all my products under products general, should I set up product types for each type of product?
I am running Zen version 1.3.5
I dont understand what you mean about an Outdated version of Additional images.php, I uploaded the most recent version of lightbox and renamed the my TEMPLATE Folder.
It is a fairly new install (a week prior to 1.3.6)
I just wanted to say thanks for this GREAT contribution! I've got it installed on my site which runs Zen Version 1.3.0.1 with IH2 and it works flawlessly. The image presentation looks so much better now.
I do have a quick question, what will happen if someone is viewing the site that has javascript disabled?
It opens a new browser window with the LRG image, the next best thing really.
Note: this is the lightbox contrib as I don't use IH2.
Your problem has nothing to do with the name of your filenames or the lightbox mod.
You have made changes to the product info template manually or via some mod?
This div
<div id="productAdditionalImages">
is above this div
<div id="productMainImage" align="center">
So consequently your main product image is the last image in the source code.
Alex, first of all, a big thank you for such a fantastic contribution! It looks absolutely amazing! I am relatively new to Zencart, and at this stage i have not installed the lightbox as yet. This is really due to the reason that (and i have seen this on many sites) that, if the page has not completely loaded, the images will just show up without any of the effects.
I was wondering, when would we expect to see an updated version that resolves this problem? perhaps if page has not completely loaded that it would revert back to the old popups? my main concern is for the few customers out there that are still using dialup.
Anyways, once again, thank you very much for your great contribution
is this compatible with zen 1.2.6 ?
Thanks in advance
Sorry for the delayed replies! I've been away for a few days. Please find replies to all recent questions below... I'm sure I've missed some out. If so, sorry and let me know!
Using the 'products general' type is fine. By 'outdated version' I mean an old version of the additional_images.php file.
Also, I've just tried visiting the link you recently provided (to your site) and cannot see any additional images of the products. Is this right?
As previously mention (someone else posted it before me I think) the image will open in a new browser window. This is deafult Zen Cart code.
If anyone can think of a better way to handle images when jscript is disabled please let me know. :)
Glad you like Zen Lightbox. Thanks for the nice comments! :)
I'm thinking of a way to solve this problem (as it was pointed out to me after the first release). The jscript file in question is 100kb and (you're right) it's a little chuncky for some of the old school dial up people.
If possible, I would like this file to be cached on the visitors pc and called whenever required (so it's not loaded during each page view of product_info_display.php). If this can be done it should solve the problem, but I'll have to look into it.
Keep an eye on this thread as I'll post all update news here.
There is no reason why you could not used Zen Lightbox with any version of Zen Cart. However, I've only tested it on 1.3.0.2, 1.3.5 and 1.3.6 (an update for Zen Lightbox will be released soon to fully support 1.3.6).
You could try backing up your site and installing Zen Lightbox. You'll probably need to tweak a few files, but give it a go and see what happens! :)
Is Zen Lightbox capable of being used to do a popup image for attributes. For example, you have a product that is available in blue and red, Main picture, and blue and red as attributes, but when the potential buyer clicks on red or blue, it pops an image of the product in the selected color ??
If Zen Cart can do this (ie - do what you want, but display images in new browser windows) then it shouldn't be too hard to get Zen Lightbox to do it.
I'll have a look into this and see what happens.
I don't know if this has been mentioned before, but I noticed that when there's a symbol such at as quotation mark in the product name everything gets cut off after it when it's shown in the light box at the bottom of the picture. At least this is happening in 1.3.6. To see, create a product with a " in it and then view the image with the light box.
Hi Alex, im loving using Zen Lightbox - looks great for my photography site.
www.rowanhilsden.com.au
I have a related question, and im asking you because you have already done wonders with javascript on Zen.
I want to write a Javascript that will add an image of a frame to the product image - so the user can select a frame colour and style.
I have gif images of the frames and was thingking about using the CSS float absolute position to position a floating gif over the image.
is this easy to do?
does anyone have any ideas how this could be done?
Thanks
Rowan
I remember having an issues with ' in product names, but didn't know that other symbols were causing issues.
I can certinly look at fixing this in one of the next releases.
Do you have a link to a demo store/product we could look at?
I can't think of an easy way to do this (at the moment). However, you could create all the images with frames on and then display them as additional images on your site. Then Zen Lightbox can be used to scroll through the images.
While it's not exactly what you want it will be much easier to setup.
Hope this helps. :)
Dear Alex...
This is not a question, just a thank you....
This is great...I added what was needed and now it works on all product types including the gift certificate value mod.
I love this, your hard work is greatly appreciated.
By the way using this with 1.3.6...
If they follow directions complely, works fine no problems.
Kim
Kim,
Thanks for your kind words. :)
I'm currently working on the next version of Zen Lightbox. I'll add a few new features and make it fully functional with 1.3.6. The current version will work with 1.3.6, but may require some tweaking.
Anyway... glad you're liking it! If you, or anyone else, has any feature requests please let me know.
Thanks again,
Alex
I applied this fix to my tpl_header file and it fixed the issue with the flash banner but now my header sales text isn't displaying except for when the light box is displayed.
Website is http://www.fragrance-fantasy.com .
Any ideas?
I've just installed Lightbox (over IH2), and am very happy with the Lightbox effect.
How do I turn off the mouseover popup of the medium size image that appears when the mouse passes over the small image?
I've searched the fora, but with no useful results.
mark
HOLY CRAP! Nice contribution!! Worked perfectly right out of the box and looks and works amazing! Good for you for porting this to ZC for us!
Hey... I know it was mentioned once back on page one of this forum, but I never saw an answer and it is still a "problem"... on the Reviews page, clicking on the image (and/or "enlarge image" link) doesn't use Lightbox. I'm not sure if there are other places this is appliciable, but how hard is it to add lightbox to any given image enlargement link? It'd be cool if you could include those instructions so that people with various mods can add it themselves without bugging you to support every possible setup.
Cheers!
That is an IH2 feature... nothing to do with light box. But I'll give you a hint... Admin -> Configuration --> Images ---> IH zoom small images ----> "No"
- Steven