Add photo manipulation function and a map