I have the most recent version of Image Gallery installed and have installed Image Gallery Management; however, I can not get IGM to work. The 'Manage' tab does not appear when I go to root/admin/content/image. Also, when I type in root/admin/content/image/manage I get the following error message "Access denied - You are not authorized to access this page." I checked in the permissions area but couldn't find a option for IGM. Please help me get this very useful module working. Thank you.

Comments

jchan’s picture

It sounds like your user account did not have enough permissions.

To get the 'Manage' tab, you will need the 'administer images' permission.
To get the 'Add-ons' tab in admin/settings/image, you will need the 'administer site configuration' permission.

If you have those permissions and still get "Access denied", then try rebuilding permissions: admin/content/node-settings/rebuild

tchase’s picture

Thanks for your response. I am able to see the 'Add-ons' tab, but still can't see the 'Manage' tab. Also, I don't see an 'administer images' permission (I searched the permissions page). For the Image Module, I have 'create', 'delete', 'edit' and 'view' permissions (there is no option to 'administer images' under the Image Module); also, for the Image Gallery Module, I have 'administer image galleries.' Am I missing something? I did try rebuilding permissions, but that didn't work.

jchan’s picture

Ah, ok. It seems that the latest version of image_gallery module has changed the names of its permissions. It used to have 'administer images' rather than 'administer image galleries'.

I may not have time to release a new version of Image Gallery Management right now. But you should be able to work around this by using the main Admin user account (with uid==1). That account should automatically have all permissions, even non-existent ones, I think.

You may also edit the module on your own (gallery_manage.module, line 68):
'access arguments' => array('administer images'),
change it to:
'access arguments' => array('administer image galleries'),

tchase’s picture

I was able to access the 'Manage' functions as uid==1, but it still wouldn't work with the change to line 68 in the gallery_manage.module.

Thanks for you help. This is a great module!

jchan’s picture

Good to hear that you uid 1 worked at least.

For the other method, you may need to clear the Drupal menu cache before it takes effect. Disabling, then re-enabling the module will do that. Explicitly telling Drupal to clear all its caches should work too (admin/settings/performance).

I haven't had time to actually test any of this yet though.

jchan’s picture

Status: Active » Fixed

Apologies for the delay. 1.0-beta5 is now released with the fix in place. I have tried to make it also compatible with older versions of Image Gallery.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.