1. Insert its js file in the script folder
2. Insert its css file in the css folder
3. Insert its images in the images folder and make sure that in the css file the paths to the images are correct
4. In header.php file replace the calling of the prettyPhoto CSS and JS files with the new ones
5. In script/script.js file replace all the callings of the prettyPhoto function with the new one