best way to do facebook style photo gallery ? use flash ?

You might find this useful:

http://www.huddletogether.com/projects/lightbox2/