It all depends on where they were and what happened to the device. We need more details on things like were these on a phone, laptop, PC. Were these stored on the device or in something like an email account, dropbox, google drive. Was the device used to access the photos damaged, infected with a virus. There are a few recovery tools out there that may aid you in the process.