Changed photo code to insert image in "snap" page.