WPG2 Logged in User vs. Guest

stuff4me

Joined: 2004-12-08
Posts: 41
Posted: Thu, 2008-01-31 05:12

I just updated WordPress install to 2.3.2 and my Gallery install is as follows:

Gallery version = 2.2.1 core 1.2.0.1
PHP version = 4.3.11 cgi-fcgi
Webserver = Apache
Database = mysqlt 4.1.22-max-log, lock.system=flock

I am using Gallery2 in a multi-site setup, 2 galleries are running off the same basecode.

I have found a few a post here and there about the issue that I am having, but could not find a solution to the problem.

When I am logged in (admin) to my WordPress/Blog with the LightBox feature enabled it works as intended. The picture gives me a link (which does all that fancy fade out and displays the picture): http://nojobu4u.com/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=1944&g2_GALLERYSID=80711d24aa9c95a510adce629358d88d

When I view the site as a guest, it does not work, the link that it gives me is not the above link, but a link direct to the Gallery page/view of the picture: http://nojobu4u.com/gallery/main.php?g2_itemId=1944

All items within WordPress on the WPG2/WPG2 tab are all ago and are Green (assuming they pass). On the WPG2/Gallery2 Rewrites the Can Gallery2 Rewrite Plugin be Activated? is Red. This brings it back to (assuming) having my Gallery2 in the multi-site install.

If my problem is related to the multi-site installation, then that answers my question and I can reinstall my galleries to the standard single install.

Of if this has been fixed in a newer version of Gallery, I can update Gallery.

Thank you for your help. If more information is needed, let me know.

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Thu, 2008-01-31 05:37

Considering I use lightbox on my blog without any of these issues I feel we can rule out a bug and instead concentrate on what in your Gallery2 environment is effecting lightbox..

Firstly the random image does not have a lightbox tag, have you enabled lightbox for sidebar? (Dashboard -> WPG2 -> Lightbox -> Should Sidebar Images have Lightbox Support?

If this is set, do guest have permission to view resized and fullsize images in this album?

What minimum size are you specifying your lightbox images should be??
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo

 
stuff4me

Joined: 2004-12-08
Posts: 41
Posted: Thu, 2008-01-31 05:50

In Gallery2 I have set it so that guests can see "All Versions" of the pictures. With this set, guests to my WordPress blog are now able to see the Lightbox animations.

Thank you for the quick reply and help.

 
denney
denney's picture

Joined: 2007-05-30
Posts: 12
Posted: Sat, 2008-03-29 17:40

I am having the same issue with the latest version of the integration.

Guests have the "view Item" and "view Resizes" permissions. The Lightbox Javascript is added to the page but the links are just normal links to the gallery.

Is there any way to fix this WITHOUT giving users access to "view All Versions"?