iPhoto 9.5.1 deleting photos and library!
OK. Please follow those steps : 
Open IPhoto 9.5.1 while pressing the "alt" key. Select "New". Name it Iphoto Library 2 for exemple. Press Enter, let IPhoto open.

Now, go into your Pictures folder. Find the IPhoto Library. Click right onto it, choose "Show packets". 

Find the "Masters" Folder. Drag it with your mouse and drop it inside the IPhoto's window. The bloody app should now import all your photos. 

Quit IPhoto. You can now delete the old IPhoto Library and rename your new IPhoto Library 2 into IPhoto Library.