howdy

I'm trying to setup some groups, each with their own - but public image gallery - in which it should be possible for the authorized users to create albums containing photos from specific events.
I managed to setup both OG, OG Galleries and the Image module, so it is now possible to upload an image to a specific gallery. When I set the Audience (or is it just Group) under the Create Image page to 'public' it's also possible for me to view the image node - BUT only by entering the full URL to the node. When I'm not logged in and from the front page click on the Galleries link and are redirected to the /galleries URL it just says "No items found for this gallery.". When I'm logged in it shows the galleries I've created - and here again I experience a strange problem: I've uploaded two images under the same gallery and group, e.g. 'image1' and 'image2' under the gallery 'event07' under the group 'group1' - but in /galleries it shows the group 'group1' two times, and when I enter one of these it again shows the gallery 'event07 (1)' two times, and when I enter one of these it finally shows a table with the two images. So it's like everything but the images are doubled...

Please help me before I'm jumping from something really high! (no not Bob Marley...)

Comments

chitwa’s picture

Hi, am very new to this but thought Id share with you what I found. No its not OG galleries, but hope its similar. Check permisions set for OG galleries for anonymous user. It may be not active for that user. I found the issue whne using the path module. When logged in it worked fine. Logged out, It just wasn't there

pyroman’s picture

Title: public galleries doesn't show up + strange gallery listing » public galleries doesn't show up + strange gallery listing (still no solution)

Well there isn't really an option for setting the permission for viewing the galleries - but I've tried to give anonymous users permission to "administrate galleries" which didn't help at all. I've also tried changing some other permissions for some OG functions without any luck...

pyroman’s picture

Title: public galleries doesn't show up + strange gallery listing (still no solution) » public galleries don't show up + strange gallery listing (still no solution)

okaaay - figured out why I got listed all the gallery terms several times: It's because the view's "og_galleries group id" argument defaulted to "Summary, sorted as view". I don't know what this option was meant to do, but when I changed it to "Summary, sort descending" it looked the way it is supposed to do.

Anonymous users still can't see a list of the groups when they go to the /galleries page. But after studiyng the source code of the OG Galleries module, I may have found the root to the evil: In the og_galleries_handler_argument_gid (about line 1080) a user with no groups (anonymous user) gets the group with id 0, which i the "public" group. And I think that somewhere else in the code, they made it so that users only see a list of groups they are subscribers to, but to change this I think I'll have to alter the source code for OG Galleries, which I at this point not are that interested in. So my solution is to drop the OG Galleries list of groups...

karens’s picture

Status: Active » Closed (won't fix)

Old issue. This version is no longer being maintained. We are moving to Views Gallery for D6.