Added a similar error-check for images in the pages_for_person view.