Zen Cart Logo
Forums / All Other Contributions/Addons / Zen Lightbox addon [Support Thread]

Zen Lightbox addon [Support Thread]

Views: 952,659

Results 2,301 to 2,320 of 3,722
18 Jan 2011, 21:50
#2301
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

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

19 Jan 2011, 06:12
#2302
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

ScriptJunkie:

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

19 Jan 2011, 06:53
#2303
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

ScriptJunkie:

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.

I'm not too familiar with the attribute images, but I think they are just static images on the page and not links therefore not part of the lightbox.

Yes 4 statements processed is correct.

Daniel

19 Jan 2011, 07:35
#2304
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

@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

Hi DarkAngel,
I've experimented with close image image on click, but as finlander suspected it very much interferes with the Next / Prev buttons when using additional images.

If I can find another way to do it I'll include it in an update.

Daniel

19 Jan 2011, 08:44
#2305
kappy1 avatar

kappy1

New Zenner

Join Date:
Jun 2010
Posts:
10
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

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.

19 Jan 2011, 13:55
#2306
arty101 avatar

arty101

New Zenner

Join Date:
Aug 2010
Posts:
22
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

:clap: Can't believe i did it:) .Thank you so much for your addon and you definitely deserve some donaz!

19 Jan 2011, 20:44
#2307
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Update
**
ScriptJunkie Posted**

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.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).

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:

19 Jan 2011, 21:34
#2308
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

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?

ScriptJunkie:

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).

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:

20 Jan 2011, 05:10
#2309
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

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.

20 Jan 2011, 05:22
#2310
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

ScriptJunkie:

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.You mean it doesn't show the additional images only the "links" to the images??? Hmmm not sure what mod that is.. but I imagine it would have some compatibility issues with any lightbox mod..

20 Jan 2011, 06:10
#2311
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DivaVocals:

You mean it doesn't show the additional images only the "links" to the images??? Hmmm not sure what mod that is.. but I imagine it would have some compatibility issues with any lightbox mod..

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.

20 Jan 2011, 06:26
#2312
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

ScriptJunkie:

**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.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..

ScriptJunkie:

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.
Might be best..:laugh:

20 Jan 2011, 06:32
#2313
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DivaVocals:

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..

Yep, I totally meant to say "attribute images". See? Working when tired is no good (as I'm sure you yourself know from first hand experience with all you have on your plate) <grin>.

20 Jan 2011, 07:17
#2314
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

niestudio:

Hi DarkAngel,
I've experimented with close image image on click, but as finlander suspected it very much interferes with the Next / Prev buttons when using additional images.

If I can find another way to do it I'll include it in an update.

Daniel

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

20 Jan 2011, 09:09
#2315
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

ScriptJunkie:

Yep, I totally meant to say "attribute images". See? Working when tired is no good (as I'm sure you yourself know from first hand experience with all you have on your plate) <grin>.Indeed which is probably why it's taking me more than a minute tonight to complete four SIMPLE forms.. :laugh:

21 Jan 2011, 08:57
#2316
jerme1 avatar

jerme1

New Zenner

Join Date:
Aug 2009
Posts:
3
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

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!

21 Jan 2011, 15:18
#2317
andalucian avatar

andalucian

New Zenner

Join Date:
Dec 2010
Posts:
4
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

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.

21 Jan 2011, 15:22
#2318
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

andalucian:

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.

Can you PM me a link to your site and I'll take a look at the code.
daniel

21 Jan 2011, 15:42
#2319
andalucian avatar

andalucian

New Zenner

Join Date:
Dec 2010
Posts:
4
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi,

its not live yet but i have turned it on for you to see...

https://www.castilesoap.co (NOT COM)

21 Jan 2011, 16:29
#2320
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

andalucian:

Hi,

its not live yet but i have turned it on for you to see...

Do you have any other addons installed?