Same problem.
I solved it by installing Windows Photos.
Next I Reset the App and removed defaults.
Then right-clicked on a JPG and Choose Another App and was able to select IrfanView with Always Open.
Same with PNG files. Probably needed with JPEG too.