
If you have an iPhoto library that has either become corrupt or had photos accidentally deleted from it, and you have been using Time Machine to back up your library, you can use iPhoto Library Manager to copy any missing photos from your Time Machine backup either to the current version of that same library, or to another on of your iPhoto libraries. To do this:
From there, you can copy photos from the restored library just like with any other library on your machine.