Added functions for retrieving photo and camera information.
Corrected some messed up indentation.