Hi, I am Dave, I will help you with this.
Open the Settings App, then go to Apps - Installed Apps.
Scroll down to find the Microsoft Photos app.
Select that app, choose Advanced Options, then run the Repair option and the Reset option.
Then check if you can open those image files.