Along with the request to support names instead of uid, I'd also like to request support for embedded gallery using the path:
gallery/me

Even when I changed $user->uid to $user->name, gallery/name did not work. I assume this is due to the use of drupal_goto.

gallery/ works.

Comments

kylehase’s picture

sorry, that last part is supposed to say

"gallery/[name] works." The name part got stripped.

ahoeben’s picture

Status: Active » Closed (won't fix)

If gallery/1 shows the gallery of user nr 1 on your site, then this module should work for you. If it doesn't, then you are looking for another (set of) module(s).

If you want to see usernames instead of user ids, I suggest you use a combination of this module, Pathauto to generate path aliases, and Global Redirect. Global Redirect will ensure that - provided there's a url alias for a page - the url alias will show instead (even if you typed in the url).