Photo Gallery Help

Im trying to make an effect like the one on iso50.com for all the prints. Can someone explain to me how to change the size of the box for each pic and how to have it type the text at the bottom for each photo. Thanks for any help