Added error handling related to the user story for viewing pictures.