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

Zen Lightbox addon [Support Thread]

Views: 953,001

Results 721 to 740 of 3,722
17 Oct 2007, 8:57 AM
#721
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Zen Lightbox addon [Support Thread]

I'm 99% sure that your filenames and/or location for these additional images are incorrect.

If setup correctly, your additional images wil appear on the product page (and also be viewable via Zen Lightbox).

I recommend reading this tutorial...

https://www.zen-cart.com/tutorials/index.php?article=58

That should sort things out for you. :)

17 Oct 2007, 2:19 PM
#722
vik007 avatar

vik007

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

Hi Guys,

Im a totally newbie..so please excuse my basic questions.

Iv installed light box (well tried) i can now see Zen cart in my admin area.

And uploaded the files to the correct destination.

But when i click on a image (to enlarge) instead of opening in a new window like before..it opens in the same...

and you have to click back to get where you where before.

Wat have i done wrong??

https://www.splay.co.uk

Thank you

17 Oct 2007, 2:23 PM
#723
vik007 avatar

vik007

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

oohhh:-)

im cleverer than i thought....managed to get it working!! :smartalec:

Now just to find out how to add multiple images... :yuck:

17 Oct 2007, 3:16 PM
#724
vik007 avatar

vik007

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

Hi guys.

Iv tried to follow the tutorial to add multiple pixs..but still cant seem to follow it.

  1. Created a new product and uploaded a picture (signature.jpg) to a folder called 'Cricket Bats'

  2. Used FTP to place two more pixs in that folder called:

signature_01.jpg
signature_02.jpg

  1. When i find the product (http://letsplaysport.co.uk/zc/index.php?main_page=product_info&cPath=1_4&products_id=144)

i click the main picture and it loads..but it does not switch to he second / third pic../it just hangs?

What am i doing wrong?

Thankyou

17 Oct 2007, 6:19 PM
#725
karstensmommy avatar

karstensmommy

New Zenner

Join Date:
Aug 2005
Posts:
36
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Whenever I install this file:

tpl_modules_main_product_image

I get this error:
Fatal error: Call to undefined function: zen_lightbox() in /home/treed/public_html/boutique/includes/templates/classic/templates/tpl_modules_main_product_image.php

17 Oct 2007, 6:30 PM
#726
karstensmommy avatar

karstensmommy

New Zenner

Join Date:
Aug 2005
Posts:
36
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Nevermind, I fixed it :)

17 Oct 2007, 7:09 PM
#727
karstensmommy avatar

karstensmommy

New Zenner

Join Date:
Aug 2005
Posts:
36
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

2 questions.... is it possible to add captions like on the example page? If so, how?

Also, was there a resolution for the hover images? I have everything working with image handler and lightbox except that

Thanks!!

18 Oct 2007, 3:31 AM
#728
tactics avatar

tactics

New Zenner

Join Date:
Jun 2005
Posts:
15
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Alex Clarke:

I'm 99% sure that your filenames and/or location for these additional images are incorrect.

If setup correctly, your additional images wil appear on the product page (and also be viewable via Zen Lightbox).

I recommend reading this tutorial...

https://www.zen-cart.com/tutorials/index.php?article=58

That should sort things out for you. :)

I followed that one to the letter and still no luck. Tried different directories, everything. And I know the first one is right, because it's finding both the medium and large image.

18 Oct 2007, 1:05 PM
#729
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

tactics:

I followed that one to the letter and still no luck. Tried different directories, everything. And I know the first one is right, because it's finding both the medium and large image.

I had the same problems as everyone else with additional images not showing up even after re-following the readme. Replace modules/YOUR_TEMPLATE/additional_images.php with the attached file. If you have altered this file use a comparison program like winmerge to merge the files. Basically, if you go through your existing addtional_images.php file and replace all instances of str_replace with ereg_replace it should work. At least it does on my heavily modified cart. :smile:

Plus, it may or may not be helpful for Firefox and Opera to show extra images by adding this line to your stylesheet.css :

.additionalImages a {display:all;}

Let me know if this works.

Matt

19 Oct 2007, 7:40 AM
#730
tactics avatar

tactics

New Zenner

Join Date:
Jun 2005
Posts:
15
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

lankeeyankee:

I had the same problems as everyone else with additional images not showing up even after re-following the readme. Replace modules/YOUR_TEMPLATE/additional_images.php with the attached file. If you have altered this file use a comparison program like winmerge to merge the files. Basically, if you go through your existing addtional_images.php file and replace all instances of str_replace with ereg_replace it should work. At least it does on my heavily modified cart. :smile:

Plus, it may or may not be helpful for Firefox and Opera to show extra images by adding this line to your stylesheet.css :

.additionalImages a {display:all;}

Let me know if this works.

Matt

Thanks very much Matt. Unfortunately, still no luck. And I can even see the empty <!--bof Additional Product Images --><!--eof Additional Product Images --> comment tags in the source code. Very frustrating.

19 Oct 2007, 8:24 AM
#731
ces avatar

ces

Zen Follower

Join Date:
Nov 2004
Location:
West Mids, England
Posts:
199
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Have you tried the suggestions documented in posts 723 and 725?

20 Oct 2007, 1:56 PM
#732
samourai100 avatar

samourai100

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

vik007:

Hi Guys,

Im a totally newbie..so please excuse my basic questions.

Iv installed light box (well tried) i can now see Zen cart in my admin area.

And uploaded the files to the correct destination.

But when i click on a image (to enlarge) instead of opening in a new window like before..it opens in the same...

and you have to click back to get where you where before.

Wat have i done wrong??

https://www.splay.co.uk

Thank you

Hello Vik007,
how did you fix this, I have the same problem and I don't know what to do?
It might be a browser problem (I'm running internet explorer 6.0), it seems that all websites with the lightbox don't display the lightbox on my computer, they just open the image in the browser.
Thanks.

20 Oct 2007, 2:48 PM
#733
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

samourai100:

Hello Vik007,
how did you fix this, I have the same problem and I don't know what to do?
It might be a browser problem (I'm running internet explorer 6.0), it seems that all websites with the lightbox don't display the lightbox on my computer, they just open the image in the browser.
Thanks.

Do you have Java Script installed and enabled?

20 Oct 2007, 2:58 PM
#734
samourai100 avatar

samourai100

New Zenner

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

Re: Zen Lightbox addon [Support Thread]

Alex Clarke:

Do you have Java Script installed and enabled?

Yes I do and i checked the website with firefox and the lightbox works fine.
here is the link to one of my product pages, can someone check if for their IE the lightbox works.
Thanks.

http://alternaboutique.com/index.php?main_page=product_info&products_id=16&zenid=530d1cd3cb52ffecfb1fd66c9e0fccb5

20 Oct 2007, 7:13 PM
#735
tactics avatar

tactics

New Zenner

Join Date:
Jun 2005
Posts:
15
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

OK, I finally got it working. It just absolutely wouldn't work without image handler installed. As soon as I installed that, everything was good. Only thing I can't figure out now is why "use css buttons" no longer works...

21 Oct 2007, 8:57 AM
#736
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

samourai100:

Yes I do and i checked the website with firefox and the lightbox works fine.
here is the link to one of my product pages, can someone check if for their IE the lightbox works.
Thanks.

http://alternaboutique.com/index.php?main_page=product_info&products_id=16&zenid=530d1cd3cb52ffecfb1fd66c9e0fccb5

Work for my fine (IE7). However, your website (and all the images displayed in Zen Lightbox) take quite a while to load for me. I'm on a 20mb/s connection so that shouldn't be an issue.

When I viewed the larger image of your product the Zen Lightbox loading animation was displayed for aroun 5-10 seconds. Then the picture loaded.

Slowness aside, it worked fine. :)

21 Oct 2007, 9:28 AM
#737
james739 avatar

james739

Zen Follower

Join Date:
Jun 2007
Posts:
210
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi, I tried updating to the latest zen lightbox. I removed all the files associated with the previous version zen lightbox. I got this crazy error after installing the .sql file. The site works when I remove the file. Anybody know how to fix this?

Warning: Variable passed to each() is not an array or object in /home/trendsde/public_html/includes/classes/db/mysql/query_factory.php on line 114

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/trendsde/public_html/includes/classes/db/mysql/query_factory.php:114) in /home/trendsde/public_html/includes/functions/sessions.php on line 108

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/trendsde/public_html/includes/classes/db/mysql/query_factory.php:114) in /home/trendsde/public_html/includes/functions/sessions.php on line 108

Warning: Cannot modify header information - headers already sent by (output started at /home/trendsde/public_html/includes/classes/db/mysql/query_factory.php:114) in /home/trendsde/public_html/includes/init_includes/init_templates.php on line 78

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'EXPECTED_PRODUCTS_SORT limit MAX_DISPLAY_UPCOMING_PRODUC' at line 7
in:
[select p.products_id, pd.products_name, products_date_available as date_expected from zen_products p, zen_products_description pd where p.products_id = pd.products_id and p.products_status = 1 and pd.language_id = '1' and p.products_date_available >=20071021 order by EXPECTED_PRODUCTS_FIELD EXPECTED_PRODUCTS_SORT limit MAX_DISPLAY_UPCOMING_PRODUCTS]

21 Oct 2007, 1:50 PM
#738
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

james739:

The site works when I remove the file.

Which file are you talking about?

Also, how did you run the Zen Lightbox installation SQL?

21 Oct 2007, 3:06 PM
#739
james739 avatar

james739

Zen Follower

Join Date:
Jun 2007
Posts:
210
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Alex Clarke:

Which file are you talking about?

Also, how did you run the Zen Lightbox installation SQL?

Ho copied and pasted the file. It accepted the SQL but then screws up my whole site. I had to remove it!

21 Oct 2007, 3:17 PM
#740
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

james739:

Ho copied and pasted the file. It accepted the SQL but then screws up my whole site. I had to remove it!

What version of Zen Cart are you running? Also, what other contributions do you have installed?