I did not find the Flickr API particularly helpful in trying to do this challenge.
I understand that we’re only working with an intermediate stage here, but I got bogged down in deciding how the paging should work from a UI point of view. I am sure the next chapter will clarify things. I will try the solutions posted. Using output statements has gotten me a little further down the road.
Update: Paddy’s solution generated an error for PAGE. I added a statement that fixed it, but I am still puzzling over how it works.