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
Views: 952,694
Zen Follower
But it has no zoom on mouse over feature right? I really like/want that.
Ian
Banned
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
New Zenner
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:
New Zenner
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?
New Zenner
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.
Totally Zenned
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....
New Zenner
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
Totally Zenned
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
New Zenner
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.
Totally Zenned
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
New Zenner
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.
New Zenner
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.
Zen Follower
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,
New Zenner
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
Zen Follower
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...
Totally Zenned
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
Zen Follower
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
Totally Zenned
ztotheetothen:
yes it was working well.
i installed IH2 and Zen lightbox 1.5it 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?
Zen Follower
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.
Totally Zenned
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
Fields marked required must be completed.
Tell staff why this post should be reviewed.