Does it need to pull data from the database? If so, is mysql working and do you have a correct connection script?
Otherwise, is the path to the images the same? Is the script trying to call a PHP class that isn't installed? Are you seeing the image thumbnails but not the full size images?