read the tutorial how to create a mosaic transition effect between two photos using jQuery @ burnmind.com