In using Tumblr as the platform for my portfolio, I’ve discovered that I’m not a huge fan with the tools available on the custom theme level. There are inconsistencies between what an individual photo and a photoset have access too. So, I built a basic gallery page using the Tumblr API. Feel free to fork it, customize it, and generally do whatever you want with it. I’ll be integrating it into my site soon.