3 Replies Latest reply: Oct 20, 2012 12:23 AM by Terence Devlin
Mountain Newbie Level 1 (0 points)

1 - Some of my photos won't show up in Edit - I just get a black screen, even though I can see them in Events and in the Album. I also can't move them from the events (or album) to the desktop. Any ideas?


I have OSx 10.6.8 and iPhoto 7.1.5


2 - I can't empty my trash (OK, it has 5,000+ photos in it). iPhoto just crashes every time I try to empty.

MacBook, Mac OS X (10.6.6)
  • Terence Devlin Level 10 (137,900 points)

    iPhoto will not empty  trash with that amount of photos in it without problems, experienced users recommend deleting in batches of about 100 or so. 


    It's likely that this crashing has caused damage to the database



    Try these in order - from best option on down...


    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.


    2. Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)


    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.


    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 


    3. If neither of these work then you'll need to create and populate a new library.


    To create and populate a new *iPhoto 08* library:


    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.


    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'


    Move the iPhoto Library to the desktop


    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.


    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.


    When you're sure all is well you can delete the iPhoto Library on your desktop.


    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption. 

  • Mountain Newbie Level 1 (0 points)

    Terence -


    Thanks for the detailed and informative answer. I will try your suggestions as soon as I can.


    Now though, it seems that the problem has expanded. I ran MacKeeper to try to delete files and now all my programs crash. Excel and Word won't even open. I couldnt get into Firefox or Safari to check email until I went to MK and turned off the "recommended" real time protection.


    I don't have a recent backup so maybe some items will be lost (like my sister's wedding - oops).


    Your suggestion about deleting in batches sounds good. But how can I delete the photos in my iPhoto trash without actually opening the trash in iPhoto? These files must be accessible through Finder, but where?


    Thanks again,


  • Terence Devlin Level 10 (137,900 points)

    Now though, it seems that the problem has expanded. I ran MacKeeper...


    Oh dear. Well there's the source of all your problems. I would head over the the Using Mac OS X forum for advice on how to get rid of that app, and how to repair the damage it has done.