Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / All Other Contributions/Addons / ImageHandler + Lightbox

ImageHandler + Lightbox

Locked

Started by clarky on 11 Nov 2007, 4:14 PM · Views: 7,438

Results 1 to 20 of 21
This thread is locked. New replies are disabled.
11 Nov 2007, 4:14 PM
#1
clarky avatar

clarky

New Zenner

Join Date:
Jul 2007
Posts:
41
Plugin Contributions:
0

ImageHandler + Lightbox

Hey. I have Image Handler 2 and Zen Lightbox both installed on my site, I also have tabbed content mod installed if this may affect anything.

My Lightbox mod has totally messed up, and also my additional images dont appear anymore! :(

www.a1-rc.com/index.php
(this is a none live shop)

Im not sure what the problem is, Image Handler all files are uploaded, and its correctly installed in admin, and Zen Lightbox was working fine.

Their is an additoinal image on the product here:

http://www.a1-rc.com/index.php?main_page=product_info&cPath=65_82&products_id=190

I think the problem with lightbox is that its somehow installed twice, and its trying to load the images twice. but I dont know why the additional images arnt apearing.

Thanks.

If you need admin or ftp, please pm me.

12 Nov 2007, 4:01 AM
#2
gabenn2 avatar

gabenn2

Zen Follower

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

Re: ImageHandler + Lightbox

I am having this problem on another site also. I have both image handler and lightbox installed on my personal site and they work fine together, but on my freinds site they are totall messed up. It was fine until I installed lightbox and then her image hover stopped working and her additional images disappeared. I am not much help, but just wanted you to know I will be watching this thread too in case anyone can fix it :)

Thanks

12 Nov 2007, 5:29 AM
#3
gabenn2 avatar

gabenn2

Zen Follower

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

Re: ImageHandler + Lightbox

I figured it out, individually delete the zen lightbox 1.4 and install the 1.3 version. It works perfectly then.

12 Nov 2007, 6:10 PM
#4
nimbuz avatar

nimbuz

Zen Follower

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

Re: ImageHandler + Lightbox

I'm having the exact same problem. Did you uninstall zenlightbox 1.4 completely?

How did you remove the mysql tables inserted while installation?

Thanks

CSS Evangelist

14 Nov 2007, 4:47 PM
#5
clarky avatar

clarky

New Zenner

Join Date:
Jul 2007
Posts:
41
Plugin Contributions:
0

Re: ImageHandler + Lightbox

How do I go about uninstalling lightbox?

14 Nov 2007, 4:50 PM
#6
nimbuz avatar

nimbuz

Zen Follower

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

Re: ImageHandler + Lightbox

Clarky:

How do I go about uninstalling lightbox?

Don't uninstall. I found a fix for it already. Its in one of my recent posts, please look for it.

CSS Evangelist

14 Nov 2007, 8:37 PM
#7
clarky avatar

clarky

New Zenner

Join Date:
Jul 2007
Posts:
41
Plugin Contributions:
0

Re: ImageHandler + Lightbox

Thanks Nimbuz, found the fix!

http://forum.zen-cart.com/showpost.php?p=443378&postcount=720

Now I have another problem, its like zen lightbox is trying to work twice.

http://www.a1-rc.com/index.php?main_page=product_info&cPath=65_82&products_id=190

If you click an image, you will see what I mean, link to a screenshot of this below,
http://i7.tinypic.com/6wm9eli.jpg

Any ideas to fix this? Thanks.

14 Nov 2007, 9:19 PM
#8
dbltoe avatar

dbltoe

Totally Zenned

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

Re: ImageHandler + Lightbox

The problem on the site I'm working on is that IMH2 for 1.3.7 and Lightbox 4 seem to be working without conflict but the lightbox just won't work.

The image comes up in a pop-up instead.

Error logs show that the system is looking for the jscripts in the template_default folder versus the custom folder. Putting the four jscripts in the template_default/jscript folder only change the file not found to one in the classic folder.

It appears that the code to look for the existence of an override directory is not working. Otherwise it would be able to find the files as they are where the installation says to put them.

:frusty:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

15 Nov 2007, 5:35 AM
#9
dbltoe avatar

dbltoe

Totally Zenned

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

Re: ImageHandler + Lightbox

:blush: :oops: :blush: :oops: :blush: :oops: :blush:

A reload of the system had caused the custom directory's template_info.php to be dropped.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

7 Dec 2007, 9:11 AM
#10
robbyn7 avatar

robbyn7

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
0

Re: ImageHandler + Lightbox

Hi Clarky,

How did you fix the issue of Lightbox trying to work twice?

Thanks,
Robyn

7 Dec 2007, 3:34 PM
#11
clarky avatar

clarky

New Zenner

Join Date:
Jul 2007
Posts:
41
Plugin Contributions:
0

Re: ImageHandler + Lightbox

Yeh I fixed it, it was loading two different copies of the .js for lightbox, I simply removed the incorrect one.

7 Dec 2007, 3:51 PM
#12
robbyn7 avatar

robbyn7

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
0

Re: ImageHandler + Lightbox

Hi Clarky,

Which file was that?

7 Dec 2007, 5:00 PM
#13
robbyn7 avatar

robbyn7

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
0

Re: ImageHandler + Lightbox

I found it. Had an extra js_lightbox.php in my includes/modules/pages/product_info.php file.

Thanks

23 Jan 2008, 10:48 AM
#14
gabenn2 avatar

gabenn2

Zen Follower

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

Re: ImageHandler + Lightbox

Clarky:

Thanks Nimbuz, found the fix!

http://forum.zen-cart.com/showpost.php?p=443378&postcount=720

Now I have another problem, its like zen lightbox is trying to work twice.

http://www.a1-rc.com/index.php?main_page=product_info&cPath=65_82&products_id=190

If you click an image, you will see what I mean, link to a screenshot of this below,
http://i7.tinypic.com/6wm9eli.jpg

Any ideas to fix this? Thanks.

Robbyn7:

Hi Clarky,

How did you fix the issue of Lightbox trying to work twice?

Thanks,
Robyn

If you are running Lightbox 1.4

in your zen directory open the following folder:

modules\pages\product_info and delete jscript_lightbox.php

Make sure that you are deleting the correct file. jscript_lightbox.php is a 1.3 file jscript_zen_lightbox.php is a 1.4 file. You probably didn't follow the upgrade instruction and so you have two instances of lightbox trying to work at the same time.

23 Jan 2008, 7:45 PM
#15
banswidthjunkie avatar

banswidthjunkie

Zen Follower

Join Date:
Nov 2007
Posts:
167
Plugin Contributions:
1

Re: ImageHandler + Lightbox

Clarky:

Hey. I have Image Handler 2 and Zen Lightbox both installed on my site, I also have tabbed content mod installed if this may affect anything.

My Lightbox mod has totally messed up, and also my additional images dont appear anymore! :(

www.a1-rc.com/index.php
(this is a none live shop)

Im not sure what the problem is, Image Handler all files are uploaded, and its correctly installed in admin, and Zen Lightbox was working fine.

Their is an additoinal image on the product here:

http://www.a1-rc.com/index.php?main_page=product_info&cPath=65_82&products_id=190

I think the problem with lightbox is that its somehow installed twice, and its trying to load the images twice. but I dont know why the additional images arnt apearing.

Thanks.

If you need admin or ftp, please pm me.
Can I suggest getting rid of the right click disable "feature"? All I need to do is disable javascript and then I can right click anywhere I want.

Did you also know that you can bookmark with a right click, so this is potentially putting customers off from bookmarking your site.

My ZenCart Mods: Define Pages Generator | Fual Slimbox (Lightbox)
A site I did for a mate: http://richard-moon.co.uk/

24 Jan 2008, 7:45 AM
#16
clarky avatar

clarky

New Zenner

Join Date:
Jul 2007
Posts:
41
Plugin Contributions:
0

Re: ImageHandler + Lightbox

I found that in one of my template files (think it was header.php) that it was loading the lightbox js files twice. So I simply removed one from the code.

banswidthjunkie, the reason we have done that is to try and stop users saving images. I know its simple enough that they can disable javascript, or just go into view --> source and take the link to the image. However, their is a rival company to A1-RC that have been stealing our images to use on their site, ones that we have taken of our products ourselves. I may add a button in the navigation to Add To Bookmark?

24 Jan 2008, 8:23 AM
#17
dbltoe avatar

dbltoe

Totally Zenned

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

Re: ImageHandler + Lightbox

I can't help myself! Another manual still in shrink wrap.

Clarky,

I guess you are not aware that one of the better features of IH is that you can watermark all your photos so that no one can steal them?

http://breakmyzencart.com/ih-doc

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

24 Jan 2008, 8:48 AM
#18
banswidthjunkie avatar

banswidthjunkie

Zen Follower

Join Date:
Nov 2007
Posts:
167
Plugin Contributions:
1

Re: ImageHandler + Lightbox

So how exactly does that stop your rivals stealing your images? All it does is annoy your legitimate customers.

As dbltoe a much better idea is watermarking your images.

My ZenCart Mods: Define Pages Generator | Fual Slimbox (Lightbox)
A site I did for a mate: http://richard-moon.co.uk/

24 Jan 2008, 9:01 AM
#19
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: ImageHandler + Lightbox

With ImageHanlder 2 you can automatically watermark all your images easily, I really hate sites that disable right click, give me a very bad impression.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

18 Jul 2008, 1:44 PM
#20
shoulders avatar

shoulders

New Zenner

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

Re: ImageHandler + Lightbox

hi,

i have installed lightbox 1.4 from fresh on to my zen cart. i am trying to add image handler 2 but when i run winmerge and compare the files there are some differences i am unsure whether to copt these.

The instructions for what to copy and paste etc dont really exist. please can someone tell me how they grafted image handler in, or maybe the modded files aswell.

thanks

shoulders