I'm running drupal 4.6, with image_module installed.

Users can upload images, and assign them to galleries. But, they cannot view the images when they click "photo galleries" from the menu. Every gallery says "There are 0 images in this gallery."

I can view them fine when logged in as admin. But, guests and authenticated users cannot.

- Permissions are set correctly in access control: all users have permission to access images.
- Permissions are set correctly using node_privacy_byrole: permission to view is granted to all users.
- All users can view the images: by using taxonomy, direct link, or "random image" block.
- I tried disabling image_module, deleting the db tables, and re-enabling it.
- I tried re-uploading image_module to my server.

Comments

CmdrGravy’s picture

I'm not sure about 4.6 but in 4.5 the image gallery defaulted to loading images into a users personal album ( a tick box at the bottom of the image create page ) which means the images don't show up in the main gallery.

kylebrotherton’s picture

I don't see that option on the submit or edit page. I don't think that feature is in drupal 4.6.

kylebrotherton’s picture

When I disable node_privacy_byrole, my galleries function properly. So, I think image_module and node_privacy_byrole are not playing nicely with each other.

Perhaps there's a way to completely disable node_privacy_byrole for images, and still use it for other types of content. Or maybe, I can change some code to make them work together.

I'd appreciate any help with this. I'd hate to have to disable either module. I need them both.

Keep in mind: The users can view images by direct-link, or taxonomy. The problem is that every gallery shows "0 items". Galleries work fine if I log in as admin.

kylebrotherton’s picture

I have the exact same problem when I instal "organic groups."

This is very annoying. I think I'm going to see if the gallery_module will suit my needs, because image_module isn't working well for me.