add missing onPhotoUploadFailure callback closes #10