Gallery with jQuery 1.6.4
There is more than one way to do it - for instance, it depends on where the images are coming from. You could do it with Views for instance, creating a list of images, adding the correct classes, and applying the js from your custom theme.