pick photo from gallery (with errors)