Forums / All Other Contributions/Addons / Lightbox Gallery (combined jgallery and zenlightbox)

Lightbox Gallery (combined jgallery and zenlightbox)

Views: 28,729

Results 121 to 140 of 163
4 May 2011, 2:32 PM
#121
gsallen101289 avatar

gsallen101289

New Zenner

Join Date:
Aug 2009
Posts:
44
Plugin Contributions:
0

Lightbox Gallery (combined jgallery and zenlightbox)

Sorry for the duplicate post (http://www.zen-cart.com/forum/showthread.php?p=1024518#post1024518)

I am using Zen Cart v1.3.9h

I am having trouble displaying the images once clicked on. The Lightbox opens but no image appears. It is blank.

Gallery Link:

http://bestldcontractors.com/index.p...n_page=gallery

EZPage Link:

http://bestldcontractors.com/index.p...age=page&id=16

I do not really need this lightbox working on product pages, only the gallery.

Can anyone offer a suggestion? Thank you in advance!

12 Jul 2011, 7:04 PM
#123
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

Re: Lightbox Gallery (combined jgallery and zenlightbox)

Can anyone help?

I had this mod installed fine on a test server and everything worked beautifully....I moved to the live server and now I cannot get the thumbnails to show for the gallery...you can click on the missing image and the popup shows the image....but the thumbnails have just disappeared...I have checked the config over and over....is there another reason the thumbnails could be missing?

Jill || I Love Zen Cart Templates || 2 Dogs Design
I Love To Help But Let's Keep It Public Please To Help Others!

13 Jul 2011, 4:32 PM
#124
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

Re: Lightbox Gallery (combined jgallery and zenlightbox)

OK so I have narrowed the thumbnail issue down to the PHP.ini file...which is HUGE on this site....can anyone help me figure out what in the PHP.ini would block the thumbnails?

Jill || I Love Zen Cart Templates || 2 Dogs Design
I Love To Help But Let's Keep It Public Please To Help Others!

18 Dec 2011, 6:45 AM
#125
brian70809 avatar

brian70809

New Zenner

Join Date:
Jun 2011
Posts:
85
Plugin Contributions:
0

Re: Lightbox Gallery (combined jgallery and zenlightbox)

tinboye:

well got seo mod working but same issue, i was able to setup ezpages to internal url of my gallery.html, the gallery shows up, but when I select another page i get the php code

<?php echo curPageURL(); ?>?page=3

and a 404 error

any resolution or help would be appreciated

thanks

I fixed this problem and another one that follows it. There is a syntax problem, and I'm not proficient enough in PHP to know exactly why it was doing that, but I did make a workaround.

After that is fixed, it will then improperly modify the page references for the rest of your pictures if there are more than one page of them.

What is happening is when you hit a second page, it's reloading the URL and adding stuff to it, as well as that error above, so I did a two part fix.

in your gallery folder edit the index.php file..

Delete Line 21 - "$current_url = str_replace($pagenumbers, "", curPageURL());"

and put in

$find_stop = strpos(curPageURL(),"?page=");
If ($find_stop === false) {
  $current_url = str_replace($pagenumbers, "", curPageURL());
} else {
  $current_url = substr(curPageURL(), 0, $find_stop);
}

This will check if it's the first page loaded or if it's a subpage. It will then modify the URL to make sure it's right for further editing down lower in the code.

At around line 340 "$nav_string .= " <a href="<?php echo curPageURL(); ?>"?page=$pnav">$pnav</a> ";"

change to be

$nav_string .= " <a href=\"". $current_url ."?page=$pnav\">$pnav</a> ";

This just changes the syntax from a PHP call or whatever it was, to just be a variable that was created by our code in the beginning.

Good Luck!

26 Jan 2012, 12:13 AM
#126
slobadog avatar

slobadog

New Zenner

Join Date:
Mar 2006
Posts:
89
Plugin Contributions:
0

Re: Lightbox Gallery (combined jgallery and zenlightbox)

Trying to get this working with 1.5.0 but can't seem to get the uploader link to appear in Admin > tools. Anyone got any clues?

Thanks

Disregard, fixed. display_on_menu was set to N.

6 Mar 2012, 2:52 AM
#127
williamloi avatar

williamloi

New Zenner

Join Date:
Mar 2012
Posts:
2
Plugin Contributions:
0

Re: Lightbox Gallery (combined jgallery and zenlightbox)

brian70809:

I fixed this problem and another one that follows it. There is a syntax problem, and I'm not proficient enough in PHP to know exactly why it was doing that, but I did make a workaround.

After that is fixed, it will then improperly modify the page references for the rest of your pictures if there are more than one page of them.

What is happening is when you hit a second page, it's reloading the URL and adding stuff to it, as well as that error above, so I did a two part fix.

in your gallery folder edit the index.php file..

Delete Line 21 - "$current_url = str_replace($pagenumbers, "", curPageURL());"

and put in

$find_stop = strpos(curPageURL(),"?page=");
If ($find_stop === false) {
$current_url = str_replace($pagenumbers, "", curPageURL());
} else {
$current_url = substr(curPageURL(), 0, $find_stop);
}

> 
> This will check if it's the first page loaded or if it's a subpage.  It will then modify the URL to make sure it's right for further editing down lower in the code.
> 
> At around line 340 "$nav_string .= " <a href=\"<?php echo curPageURL(); ?>"?page=$pnav\">$pnav</a> ";"
> 
> change to be
> 
> ```
$nav_string .= " <a href=\"". $current_url ."?page=$pnav\">$pnav</a> ";

This just changes the syntax from a PHP call or whatever it was, to just be a variable that was created by our code in the beginning.

Good Luck!

I tried to use this for my /Gallery but page 2 is not working. It shows

Page Not Found

Custom 404 Error Page with Site Map Sample Text ...

Put your custom "page not found" message here. You can change this text in the Define Pages Editor located under Tools in the Admin.

Are you have Page 2 problem?

25 Jun 2012, 3:02 AM
#128
cjmarley avatar

cjmarley

Zen Follower

Join Date:
May 2004
Posts:
96
Plugin Contributions:
2

Re: Lightbox Gallery (combined jgallery and zenlightbox)

slobadog:

Trying to get this working with 1.5.0 but can't seem to get the uploader link to appear in Admin > tools. Anyone got any clues?

Thanks

Disregard, fixed. display_on_menu was set to N.

Where did you find this setting?

12 Jul 2012, 1:49 PM
#129
vietravel247_com avatar

vietravel247_com

New Zenner

Join Date:
Dec 2007
Posts:
8
Plugin Contributions:
0

Re: Lightbox Gallery (combined jgallery and zenlightbox)

Check your image name have special char like "&" or " " ex: "zen & cart.jpg" rename to: "zen-cart.jpg". You can bug error like: if(!$im){DIE("Image creation failed!".$file);}.

aesthetics:

So, maybe I broke it?

I had four or five test images in each gallery and it worked great. Added all the images to it and now my second gallery (gallery1...) tells me 'Image Creation Failed' when I click on the link.

Before I go through the process of editing all the files for the second gallery and seeing where the problem is, do you have any input on what would cause that to make my search a little easier?

9 Aug 2012, 3:13 AM
#130
websourcepro avatar

websourcepro

New Zenner

Join Date:
Sep 2011
Posts:
1
Plugin Contributions:
0

Re: Lightbox Gallery (combined jgallery and zenlightbox)

slobadog:

Trying to get this working with 1.5.0 but can't seem to get the uploader link to appear in Admin > tools. Anyone got any clues?

Thanks

Disregard, fixed. display_on_menu was set to N.

I would love to know where you found this "display_on_menu" link. I'm on 1.3.9 but I cannot get the uploader link to show under the Admin > Tools menu. Any help will be greatly appreciated.

6 Sep 2012, 4:01 PM
#131
fwood avatar

fwood

New Zenner

Join Date:
May 2004
Posts:
50
Plugin Contributions:
0

Re: Lightbox Gallery (combined jgallery and zenlightbox)

Is anyone using this addon successfully in 1.5? If so, do you have any notes on changes?

7 Sep 2012, 5:07 AM
#132
gazag avatar

gazag

Zen Follower

Join Date:
Jun 2011
Posts:
195
Plugin Contributions:
0

Re: Lightbox Gallery (combined jgallery and zenlightbox)

i currently am running zen-cart version1.3.9h and have the lightbox gallery installed and working great except one small issue

every now and then when you click on the gallery link the browser tries to add a zenid to the link thus making it show a 404 page not found error

for example my link should be http://wwwDOTwoodco-onlineDOTcom/gallery.html but it occasionally looks like http://wwwDOTwoodco-onlineDOTcom/gallery.html&zenid=7n9lr43ikn81o1omcc3dcq48u0

Any ideas how i can stop this happening??

24 Sep 2012, 12:57 AM
#133
marknew avatar

marknew

Zen Follower

Join Date:
Oct 2005
Posts:
274
Plugin Contributions:
0

Re: Lightbox Gallery (combined jgallery and zenlightbox)

I've tried installing this on 1.5 and now I have lost the links under admin>Configuration. Also the lgallery link doesn't show under tools>
Did anyone have the same problems? I know slobadog fixed the uploader link problem "
Disregard, fixed. display_on_menu was set to N." but I can't find that setting in the gallery files.

24 Sep 2012, 10:49 AM
#134
pageblair avatar

pageblair

Zen Follower

Join Date:
Feb 2010
Location:
ny
Posts:
223
Plugin Contributions:
0

Re: Lightbox Gallery (combined jgallery and zenlightbox)

installed colorbox, then installed lb1.2, then uninstalled all, then re-installed lightbox combined 1.2

Can not get it to work OR can not see gallery uploader in TOOLS

Please advise

24 Sep 2012, 8:24 PM
#135
pageblair avatar

pageblair

Zen Follower

Join Date:
Feb 2010
Location:
ny
Posts:
223
Plugin Contributions:
0

Re: Lightbox Gallery (combined jgallery and zenlightbox)

8 Nov 2012, 12:37 AM
#136
jonj1611 avatar

jonj1611

New Zenner

Join Date:
Oct 2012
Posts:
7
Plugin Contributions:
0

Re: Lightbox Gallery (combined jgallery and zenlightbox)

marknew:

I've tried installing this on 1.5 and now I have lost the links under admin>Configuration. Also the lgallery link doesn't show under tools>
Did anyone have the same problems? I know slobadog fixed the uploader link problem "
Disregard, fixed. display_on_menu was set to N." but I can't find that setting in the gallery files.

Did you ever get this problem fixed? As I have the same issue and would really like to know how I can see the gallery options under tools as I have nothing showing at all.

Thanks

10 Nov 2012, 1:37 PM
#137
jonj1611 avatar

jonj1611

New Zenner

Join Date:
Oct 2012
Posts:
7
Plugin Contributions:
0

Re: Lightbox Gallery (combined jgallery and zenlightbox)

Can anyone help with this?

10 Jan 2013, 1:24 AM
#138
brvander avatar

brvander

New Zenner

Join Date:
Jan 2013
Posts:
13
Plugin Contributions:
0

Re: Lightbox Gallery (combined jgallery and zenlightbox)

Jonj1611:

Did you ever get this problem fixed? As I have the same issue and would really like to know how I can see the gallery options under tools as I have nothing showing at all.

Thanks

I am trying to get it to work with 1.3.9.

I don't have it working fully yet but in order to add it to the menu in the admin tools, go to Admin Access Management -> Admin Page Registration. Use these values:

Page Key: Image Gallery Uploader
Page Name: BOX_GALLERYUPLOAD
Page Filename: FILENAME_GALLERYUPLOAD
Page Parameters:
Menu: Tools
Display on Menu?: Checked
Sort Order: Whatever you want, a high number like 50 would put it at the bottom of the tools list.

Hopefully this helps out some.

3 Feb 2013, 6:56 PM
#139
cjmarley avatar

cjmarley

Zen Follower

Join Date:
May 2004
Posts:
96
Plugin Contributions:
2

Re: Lightbox Gallery (combined jgallery and zenlightbox)

I installed this on Zencart 1.5 and had it working on the development server. However, once I moved it over to it's production server the gallery no longer works. All it shows now is a blank page where the gallery should be. Any ideas?

http://www.guardian-security-products.com/index.php?main_page=gallery

3 Feb 2013, 7:10 PM
#140
cjmarley avatar

cjmarley

Zen Follower

Join Date:
May 2004
Posts:
96
Plugin Contributions:
2

Re: Lightbox Gallery (combined jgallery and zenlightbox)

Okay...I actually made a little progress...now I get an error that says "Image creation failed!"