Select a referenced file, then choose File > Show Referenced File in Finder.
You can copy referenced files into your photo library so they’re easier to back up and are automatically stored in iCloud if iCloud Photos is turned on.
Go to the Photos app Restore a photo library from Time Machine on MacRepair your photo library on Mac