Not quite following here. As long as ppuser is not empty the correct photos are indeed shown if I follow your above message.
Here is a short example. Here is a user with 12 pictures. The next and previous buttons work fine http://www.reeftalk.com/gallery/show...34/ppuser/1340
You are able to view only those users 12 pictures by the prev and next buttons