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

Zen Lightbox addon [Support Thread]

Views: 953,007

Results 781 to 800 of 3,722
13 Nov 2007, 4:14 PM
#781
excalibur avatar

excalibur

New Zenner

Join Date:
May 2007
Posts:
15
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

Cirius:

Does anyone else even have a similar problem like this? Would it help to delete everything and start again?

Yes mine does the same, it used to work fine but has now stopped and is doing as yours and looking in large folder. I have tried all the fixes on here that I can find and non work either.

If I susss it, I will post back here

13 Nov 2007, 7:02 PM
#782
excalibur avatar

excalibur

New Zenner

Join Date:
May 2007
Posts:
15
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

excalibur:

Yes mine does the same, it used to work fine but has now stopped and is doing as yours and looking in large folder. I have tried all the fixes on here that I can find and non work either.

If I susss it, I will post back here

well its a bit wasteful on server storage but if you delete the large picture prefix, leaving it blank under configuration->images and then make a new directory in the images/large directory matching the one that you upload your normal pics to to, eg mine are uploaded to images/Products so i now have images/large/Products as well You can check this if you get the image location from one of the small extra images and look at the path, it will be images/large/DIR. DIR will be the name you need to make the new directory in the large directory. Now copy the images to both the original directory and the new one you made in large. the problem is now fixed hopefully.

14 Nov 2007, 12:20 AM
#783
vikzzzz avatar

vikzzzz

New Zenner

Join Date:
Sep 2007
Posts:
1
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Will anyone please explain and guide me how to uninstall the Lightbox 1.4 and also the sql codes. I have installed image handler 2 but it has stopped working due to recent installation of Lightbox 1.4.

I cant sort it out. so i am looking the easiest way to uninstall it. Many thanks.!!

14 Nov 2007, 3:36 AM
#784
nimbuz avatar

nimbuz

Zen Follower

Join Date:
Oct 2007
Posts:
291
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

CES:

How I got around the problem was to ignore the additional_images.php file that came with the mod and copied the core zen additional_images.php file into the override folder: /includes/modules/YOUR_TEMPLATE/

Then find line 92

// Link Preparation:
> ```
    // bof Zen Lightbox v1.4 aclarke 2007-09-22
    if (ZEN_LIGHTBOX_STATUS == 'true') {
    
    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" title="' . addslashes($products_name) . '">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
    
    } else {
            
    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
    
    }
    // eof Zen Lightbox v1.4 aclarke 2007-09-22
```Then directly under that, comment out the following line of code:
> ```
$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
```so it looks like this;
> 
> ```
//    $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="javascript:popupWindow(\\\'' . $large_link . '\\\')">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
```I hope that helps, and I'm not treading on anyone's toes.
> 
> Great mod by the way, thanks.
> 
> Craig


Additional images weren't showing for me using the zenlightbox version of additional_images.php, but its fixed now using the above instructions. Thanks heaps. :D
14 Nov 2007, 8:28 AM
#787
cosmogol avatar

cosmogol

New Zenner

Join Date:
Oct 2007
Posts:
12
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

vikzzzz:

I have installed image handler 2 but it has stopped working due to recent installation of Lightbox 1.4.

Using IH2 with Lighbox 1.4 requires modification of some files…
In my case i saw the light after post #1873 of:

http://www.zen-cart.com/forum/showthread.php?t=35913&page=188

14 Nov 2007, 10:03 AM
#788
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: Zen Lightbox addon [Support Thread]

In a test site at emagneticsolutions.com, I have loaded a clean 1.3.7.1 with Image Handler 2 for 1.3.7 and all is fine.

When I add lightbox 1.4, the product image still shows in a popup window versus the lightbox.

The error files tell me that the system is looking for the JavaScript files in the template_defaults directory versus the custom template folder.

A little help in changing that call would be greatly appreciated.
:frusty: :frusty: :frusty:

17 Nov 2007, 6:05 AM
#789
rvagrrl avatar

rvagrrl

New Zenner

Join Date:
Oct 2005
Posts:
90
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

MeltDown:

Would you be so kind as to post your solution? Thanks!

In case this is helpful to anyone, this post explains how to turn on the lightbox for other product types (i.e. document product, document general, etc):

http://www.zen-cart.com/forum/showpost.php?p=377888&postcount=522

18 Nov 2007, 7:20 PM
#790
sharx avatar

sharx

New Zenner

Join Date:
Feb 2007
Posts:
29
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

How can I remove additional picture from item description?
So it just shows up when I click on "larger picture"

Thanks for the great Lightbox :clap:

18 Nov 2007, 10:11 PM
#791
sharx avatar

sharx

New Zenner

Join Date:
Feb 2007
Posts:
29
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

One more thing....
Can the Lightbox be used on images I use on the "information" pages?

19 Nov 2007, 4:41 AM
#792
jmcgov avatar

jmcgov

New Zenner

Join Date:
Oct 2007
Posts:
31
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I installed zencart lightbox, made sure everything is valid. I'm still getting the header bar on top of the large product image. I'm new to php and css, I'm sure it's something simple but I can't find it. Would someone please help.

Thank you,
Jim

P.S. You can see what I'm talking about here.
http://www.mcgoverninvestments.com/diehardwithavengeancelinked-p-12.html
Click on the larger image link.

19 Nov 2007, 9:06 AM
#793
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,841
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

JMcGov,
The z-index for the light box is 100 and the z-index for the dropdown menu is 1000, putting the drop down menu above everything else. try setting the z-index for the div#dropMenu to 10 and see if that works.....I haven't tried it myself. You will have to play with the z-index settings to see what works.

19 Nov 2007, 12:47 PM
#794
jmcgov avatar

jmcgov

New Zenner

Join Date:
Oct 2007
Posts:
31
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

BINGO!! Thank you :smile:

20 Nov 2007, 3:23 AM
#795
tommyf avatar

tommyf

New Zenner

Join Date:
Jan 2005
Posts:
75
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Whenever clicking on next for additional images or clicking on additional images on bottom of my page the lightbox freezes... What would cause this and is it possible to move position of the next button?

20 Nov 2007, 10:18 AM
#796
possum avatar

possum

New Zenner

Join Date:
Sep 2007
Posts:
58
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi all,

First, a big thanks to Alex for Zen Lightbox ... it certainly adds a touch of class to my site.

I've had some friends test-driving the site and the only criticism they have is that sometimes they don't see the "close" button on the lightbox and end up hitting the kill button on the window. Of course, then they drop completely out of the store, which is not exactly the idea :smile:

This is particularly so because some of my images are large and you have to scroll down to see the "close" button.

So here's my question. Does anyone know a way to disable the kill button on the browser window while the lightbox is open so people can only use the "close" button?

Thanks a lot for any thoughts you have.

Possum.

20 Nov 2007, 6:28 PM
#797
sharx avatar

sharx

New Zenner

Join Date:
Feb 2007
Posts:
29
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

possum:

Hi all,

So here's my question. Does anyone know a way to disable the kill button on the browser window while the lightbox is open so people can only use the "close" button?

Thanks a lot for any thoughts you have.

Possum.

Just click the back button in your browser.

21 Nov 2007, 9:44 AM
#798
possum avatar

possum

New Zenner

Join Date:
Sep 2007
Posts:
58
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

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

21 Nov 2007, 2:47 PM
#799
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,841
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

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.

21 Nov 2007, 8:39 PM
#800
tomcz avatar

tomcz

New Zenner

Join Date:
Feb 2007
Location:
Prague
Posts:
53
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

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 ?