Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Zen Lightbox and Addtional Image

Zen Lightbox and Addtional Image

Locked

Views: 1,861

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
17 May 2007, 9:57 PM
#1
taydu avatar

taydu

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Zen Lightbox and Addtional Image

I installed Zen lightbox on the latest version of zen cart and it seem to work fine with additional image on demo catalog, but when I try to add items the addtional image won't load.

I used this naming convention:

mainimage.jpg
mainimage_01.jpg
........
mainimage_xy.jpg

and only the mainimage.jpg load, the rest just popup the lightbox and try to load the image but no image show except for the main image.

17 May 2007, 10:26 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Zen Lightbox and Addtional Image

where did you load these images to? What folder?

18 May 2007, 2:32 AM
#3
taydu avatar

taydu

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Re: Zen Lightbox and Addtional Image

thank for your reply cobra, I got it, forgot to upload the image to the large folder.

18 May 2007, 2:57 AM
#4
taydu avatar

taydu

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Re: Zen Lightbox and Addtional Image

how can I change the path so it will look into the same directory. Right now I have two different directory in order for it to work:

/zencart/image/xyz
/zencart/image/large/xyz

and both have the same image, which is duplicate.

on the main image it look at /zencart/image/xyz, but for additonal images it look in /zencart/image/large/xyz/abc_large.xxx

How can I change the path so it will look in /zencart/image/xzy

18 May 2007, 6:40 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Zen Lightbox and Addtional Image

Bt default - additional images are in the /images dir but on hover with lightbox the large image is called -

This is what you should be seeing

18 May 2007, 8:17 AM
#6
taydu avatar

taydu

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Re: Zen Lightbox and Addtional Image

so I need to have the same pics in both directory for lightbox to work ???

18 May 2007, 9:23 AM
#7
taydu avatar

taydu

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Re: Zen Lightbox and Addtional Image

Another question. what should I edit so the "next" and "previous" button don't overlay the image, right now it overlay the top left and right of the image?

18 May 2007, 10:43 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Zen Lightbox and Addtional Image

so I need to have the same pics in both directory for lightbox to work ???
Well not actually the SAME pic the small should be sized at wht you have set for the dimensionsand be about 2-3k and the large can be a larger in dim and a reasonable file size 10-20k
Another question. what should I edit so the "next" and "previous" button don't overlay the image, right now it overlay the top left and right of the image?
You can read moe about this either in the thread for light box or Google foe this term z-index if you add this to the lightbox css tag and set it to about 1000 this should clear this up

z-index: 1000;

19 May 2007, 1:27 AM
#9
taydu avatar

taydu

New Zenner

Join Date:
Aug 2006
Posts:
60
Plugin Contributions:
0

Re: Zen Lightbox and Addtional Image

thanks a lot, i'll try that