Hi, I am Dave, I will help you with this.
Open the Settings App, then go to Apps and Features.
Scroll down to find the Microsoft Photos ap, select it and choose 'Advanced Options', then run the Repair option and the Reset option, can you then open image files?