Thank you for using Apple Support Communities. It's my understanding that your photos are missing after restoring from an iCloud backup. I know photos can be extremely valuable. I'm happy to help.
If you were using iCloud Photo Library your photos are already in iCloud and wouldn't be included in an iCloud backup. It's possible you can access your photos in iCloud.com or by turning on iCloud Photo Library. Go to Settings > [your name] > iCloud > Photos, then turn on iCloud Photo Library. In iOS 10.2 or earlier, go to Settings > iCloud > Photos.
Have a wonderful day!