Thanks acrylian. Again, I'm just blown away by how far each of the zenphoto devs here go to help users. Don't have time to read through your function right now but will do later.
Here's a function I hacked up to be used in image.php (and album.php I think) which displays a dropdown menu of subalbums with the same parent when you are in a subalbum. That is, if Album1 has Sub1, Sub2, Sub3, and you are viewing Sub2/Image2, this function lists Sub1, Sub2, Sub3.
I'm a total noob so feedback is welcome.
`
Select Subalbum
Hmm I copied and pasted from my PHP file. Wonder if I messed something up when changing superficial text and variable names around. Anyway, not sure how adaptable/useful my function is to other people. It only outputs subalbums sharing the same parent in a dropdown menu. I can attach my file to Trac or something if you'd like.
Just wanted to tell: I found an error that prevented the display:
the "show" in the query needed to be escaped with backticks. Surely that happened when posting (the forum does these things...). It works exactly now as you said.
Maybe I can adapt this partly to the next print album menu version.