Based on selection of file type conditional validation is applied
{{userinfoForm.controls?.fileType?.errors?.extension.message}}
If you want to apply conditional validation on 'Image File' then you need to add 'File Type' input as 'Picture'.
{{userinfoForm.controls?.imageFile?.errors?.extension.message}}