Have a look at
jalbum or
porta to get the effects you are looking for. These are picture display programs that have many "skins" or templates to choose from that will display your pictures very nice.
Go to the porta link and the example on the first page -Example page using SimpleViewer, is exactly what you are discribing.
Otherwise, you would have to do a lot of coding to get the effect you are trying for.
Andy