It seems like your image file association (.jpeg, .jpg, .png, .img, .gif etc.) default program has changed to notepad in your computer. To fix this issue, you’ll have to restore the settings to its default factory settings. There is a two methodss to do it, Let’s learn how to do.
1. Change the Default programs from the control panel.
Click on the search bar which is nearby the start button. Type “Default program” in the search bar.
Click on “Associate a file type and protocol with a program“.
Then choose the .JPG file association there and click on “Change program” button and then choose the “Windows Photo Viewer“
Click on OK button. Repeat the above steps for .JPE, .JPEG, .PNG, .GIF etc. file extensions.