Photos aren't associated with phone numbers. They are either saved on a device, or saved to say an online account, like a google one.
If they were saved to a google account, I have included instructions below on how to get them from said account. However, if they were only on the devices themselves, then you can't get them from anywhere accept those phones. So if the phones are gone or not working, there is no way to get them.
1. Open the "Google Photos" app.
2. Tap the photo you want to save to your phone.
3. Now tap the "Options" menu.
4. And finally tap "Restore".
5. Repeat for each image.
Or, to get them all at once...
1. Log into the google account associated with the app.
2. Download all the images to an empty folder on your...