This can be used to troubleshoot problems with corrupt photos, thumbnails and permissions with your iPhoto Library.
- Hold down the cmd + alt keys and click on the iPhoto icon on the Dock.
- If it is not on your Dock. Go to the Applications folder and drag iPhoto to the Dock from there.
- Select all options.
- Click the Rebuild button.