BertSimmons: Thanks that is exactly what I needed! I wrapped the photo links around the printImage and it works good except for one thing:
Lets say I have two galleries with 4 photos in each, both created in April 2008. When I click on the archive for April 2008, I get photo 1,2,3,4 from gallery 1 and a,b,c,d from gallery 2 in that order. When I click on photo 1, it takes me to the image.php view showing photo 1 with the thumbnails in the same order 1,2,3,4,a,b,c,d. When I click on photo A, the order of the photos changes to 4,3,2,1,d,c,b,a. Any ideas how to correct this so the images stay in the same order?
Thanks!