Imported from the Apple Support Forums via the Wayback Machine 🔗
If you were syncing photos with iCloud, you can check iCloud.com/Photos using a computer browser to see if they are there. If they aren't there, they are gone.
If you weren't syncing photos with iCloud, you can restore them from your backup.
Restoring from a backup erases all data currently on your device. Any data newer than when the backup was made will be erased. A restore is an all or nothing restore.