Added ability to upload new photo to gallery.