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

Zen Lightbox addon [Support Thread]

Views: 952,694

Results 2,061 to 2,080 of 3,722
22 Jul 2010, 10:14 PM
#2061
r1formetoo avatar

r1formetoo

Zen Follower

Join Date:
Sep 2008
Posts:
429
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

But it has no zoom on mouse over feature right? I really like/want that.

Ian

22 Jul 2010, 10:23 PM
#2062
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

there is a commercial mod... costs £39 or $39.. i cant remember which..

i have played with the free version... but i found it conflicted with IH2 even tho others have it working with IH2...

you can find it here but i dont think you'll find much in the way of support.

their is also this

but i find that most people make the mistake of their ZC site becoming more style than substance when using pretty ajax. but thats a matter of taste...

having ajax wont make people want to buy your stuff.. having a fast site with great products and clean design will help you more! IMHO

24 Jul 2010, 7:35 PM
#2063
mrvdl avatar

mrvdl

New Zenner

Join Date:
Jan 2010
Posts:
12
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hey guys,
I always use Lightbox on my zen sites, but for some reason, with this last one, it doesn't seem to be generating anything. I don't see the js being called in the header (although the lightbox.css is), and when I click on the image, it takes me to the image full size (direct links). This is a new installation of 1.39d. Link here:

http://vspicery.com/index.php

24 Jul 2010, 8:49 PM
#2064
mrvdl avatar

mrvdl

New Zenner

Join Date:
Jan 2010
Posts:
12
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

This is what is being returned in the HTML output:

<script language="javascript" type="text/javascript"><!--
document.write('<a href="images/PeppAssort2.jpg" rel="lightbox-g" title="White Peppercorn"><img src="images/PeppAssort2.jpg" alt="White Peppercorn" title=" White Peppercorn " width="250" height="167" /><br /><span class="imgLink">larger image</span></a>');
//--></script> 
<noscript> 
<a href="http://vspicery.com/index.php?main_page=popup_image&pID=2" target="_blank"><img src="images/PeppAssort2.jpg" alt="White Peppercorn" title=" White Peppercorn " width="250" height="167" /><br /><span class="imgLink">larger image</span></a></noscript> 

Does that look correct?

24 Jul 2010, 10:05 PM
#2065
mrvdl avatar

mrvdl

New Zenner

Join Date:
Jan 2010
Posts:
12
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Found the bug. I had to put a copy of jscript_zen_lightbox.php in my template's jscript folder. Done and done, working great now.

25 Jul 2010, 1:01 AM
#2066
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Zen Lightbox addon [Support Thread]

MrVDL:

Found the bug. I had to put a copy of jscript_zen_lightbox.php in my template's jscript folder. Done and done, working great now.

Actuly that one should be in each page folder and
zen_lightbox_mootools_default.js
zen_lightbox_mootools_custom.js
should be in the template jscript folder...

By page folders.... \includes\modules\pages\product_info and so on as described in the install instructions.

Which is no big... what you're doing is auto loading the script on every page which only response to the rel tag anyway, but you could do lightbox with other images on your site. The only draw back is if the jscript_zen_lightbox.php is in the page folders, you could be duplicating the script....

27 Jul 2010, 6:17 PM
#2067
chazcu avatar

chazcu

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

I'm using Zen 1.3.9b and I can't get my additional pictures working with Zen lightbox. I have one product that gives me a next but it isn't even the correct image. I've deleted the image and renamed and uploaded but it shows again. My main concern is getting the additional images to work with Lightbox. Any assistance would be greatly appreciated.
Site is ccupowersports.com

27 Jul 2010, 9:41 PM
#2068
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

chazcu:

I'm using Zen 1.3.9b and I can't get my additional pictures working with Zen lightbox. I have one product that gives me a next but it isn't even the correct image. I've deleted the image and renamed and uploaded but it shows again. My main concern is getting the additional images to work with Lightbox. Any assistance would be greatly appreciated.
Site is ccupowersports.com

what i do when i replace an image--either by using the same name or a different one is to go into IH2 admin and clear the image cache.

about the additional images...

both IH2 and lightbox share a file...so if you just overwrote it you might have lost the function thru there.

get a copy of the IH2 additional images.php and the one from lightbox and merge them...saving it and uploading it to replace the one on your server.

What I did with mine is put that new file into both the main modules folder and the one inside it with the name of my template.

see if that helps

28 Jul 2010, 2:01 AM
#2069
chazcu avatar

chazcu

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

what i do when i replace an image--either by using the same name or a different one is to go into IH2 admin and clear the image cache.

about the additional images...

both IH2 and lightbox share a file...so if you just overwrote it you might have lost the function thru there.

get a copy of the IH2 additional images.php and the one from lightbox and merge them...saving it and uploading it to replace the one on your server.

What I did with mine is put that new file into both the main modules folder and the one inside it with the name of my template.

see if that helps

I tried that and still can't get lightbox to show the additional photos. I must be missing something I just can't figure it out at this time.

28 Jul 2010, 2:27 AM
#2070
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

chazcu:

I tried that and still can't get lightbox to show the additional photos. I must be missing something I just can't figure it out at this time.

try uploading each file, including any merged ones all over again and see if that happens to work

29 Jul 2010, 1:20 PM
#2071
corseter avatar

corseter

New Zenner

Join Date:
Jun 2010
Location:
Crossmolina, Ireland
Posts:
55
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

What I am trying to figure out is what is pushing the dropshadow away from the image. I think it is to do with light box as this was not happening before I installed it.
The <br> is fine and can stay and zen resizes the images to suit the page so that should not matter.

29 Jul 2010, 7:47 PM
#2072
corseter avatar

corseter

New Zenner

Join Date:
Jun 2010
Location:
Crossmolina, Ireland
Posts:
55
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

soxophoneplayer:

This is not a Lightbox issue.

In your product page code you have a <br> before this line:
<span class="imgLink">larger image</span>

Which pushes the link text down one line.

Also, on your stylesheet at line 193 you have a background shadow around your photos in #productMainImage. If you turn that off, and remove the <br> it looks 'normal' to me.

The photo you are using in the example doesn't match the dimensions you have defined which I think is why the shadow box is mucking up - but I'm only guessing on that.

Have solved the problem - Had to go into original stylesheet and change the settings at #productMainImage to move the shadow closer to the picture.
:clap:
Just have to get 'larger image' to move down now.

2 Aug 2010, 1:20 PM
#2073
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
460
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi All,

I had the same problem with my additional images not displaying within the lighbox.

I fixed it by merging this file at includes/modules/additional_images.php.
Both Image Handler and Zen Lighbox use this file, so merging them is a must to get them to work in harmony.

Cheers,

5 Aug 2010, 11:42 PM
#2074
r2160 avatar

r2160

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

Hi all

Having an issue with Lightbox. I have a 600x600px image installed (well all images are this size) but when I use lightbox to display the large image, it is only showing me a small image (approximate 120px x 120px) but lightbox is working.

Any suggestions?

I am also running Image Handler 2 but it seems as though it is selecting random images because some are working and some aren't. I have checked and all images are 600px x 600px.

I figure it is lightbox because when I turn it off, the large image appears OK.

URL is https://www.hohomerrychristmasshop.com.au

Zencart 1.3.8
IH 2
lightbox 1.5
EP
Holiday template

cheers
Glenn

8 Aug 2010, 2:20 AM
#2075
ztotheetothen avatar

ztotheetothen

Zen Follower

Join Date:
Oct 2006
Location:
Los Angeles
Posts:
111
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

i get the following error after adding the javascript file in to my custom templats jscript folder:

Slimbox.scanPage = function() { $$(document.links).filter(function(el) { return el.rel && el.rel.test(/^lightbox/i); }).slimbox({]}, null, function(el) { return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel)); }); }; window.addEvent("domready", Slimbox.scanPage); //--> Slimbox.scanPage = function() { $$(document.links).filter(function(el) { return el.href && el.href.test(/.(jpg|png|gif)$/i); }).slimbox({]}, null, function(el) { return (this == el) || (this.parentNode && (this.parentNode == el.parentNode)); }); }; window.addEvent("domready", Slimbox.scanPage); //-->

v1.3.9e not wirking in any browser...

8 Aug 2010, 3:10 AM
#2076
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

ztotheetothen:

i get the following error after adding the javascript file in to my custom templats jscript folder:

Slimbox.scanPage = function() { $$(document.links).filter(function(el) { return el.rel && el.rel.test(/^lightbox/i); }).slimbox({]}, null, function(el) { return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel)); }); }; window.addEvent("domready", Slimbox.scanPage); //--> Slimbox.scanPage = function() { $$(document.links).filter(function(el) { return el.href && el.href.test(/.(jpg|png|gif)$/i); }).slimbox({]}, null, function(el) { return (this == el) || (this.parentNode && (this.parentNode == el.parentNode)); }); }; window.addEvent("domready", Slimbox.scanPage); //-->

v1.3.9e not wirking in any browser...

was 1.3.9e working before you added the lightbox files?

a link please

8 Aug 2010, 4:34 AM
#2078
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

ztotheetothen:

yes it was working well.
i installed IH2 and Zen lightbox 1.5

it seems as ih2 resizes the images, but lightbox does not work.

http://jdmengines.org/jdm-honda-engines/civic/jdm-b16a-engine-swap-obd2-96-00

did you make sure all files are in the correct places...regular folders and the folders with your templates name on it?

did you merge the files that are shared by the two add ons?

8 Aug 2010, 9:00 AM
#2079
ztotheetothen avatar

ztotheetothen

Zen Follower

Join Date:
Oct 2006
Location:
Los Angeles
Posts:
111
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

yes i did everything according to instructions, but no luck
now i'm trying a different mod, magic zoom plus. it is also not working the way intended.

8 Aug 2010, 10:30 PM
#2080
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

ztotheetothen:

yes i did everything according to instructions, but no luck
now i'm trying a different mod, magic zoom plus. it is also not working the way intended.

what is the templates name and is it a paid template? There are some that will make them not play nice together