Added getPhotoOutput