Your Photos Are In the iPhoto Library File, But Not Showing Up When You Launch iPhoto Application
When photos go missing from your iPhoto collection, it usually falls under two specific situations. You will need to work your way through both and figure out which one you are dealing with.
POSSIBLE ISSUE — When you launch your iPhoto application, and a message comes up saying that it can't find your iPhoto library file, or in the window, you don't see the name of your library file listed, then this tells you that iPhoto is having a problem finding your entire photo collection. In this case, you will need to give iPhotos a little help in finding it. Click this button to take you to the solution for this problem.
A Few Or Many of My Photos Are Missing
What's Causing This Problem:
All of your master photos, thumbnail and preview versions of your photos, and database records of how the iPhoto application handles all of your photos, are stored in a separate file (a folder really) that is in a completely different place on your hard drive from the main iPhoto application.
This separate file, called a “photo library” file, by default is stored inside of the pictures folder in your user folder.
Sometimes the database records become a little mixed up, and what the database shows as being correct doesn't match what's actually true with your master images stored with that database.
EXAMPLE:
A simple example of this might be that if you were to peek inside of your folder full of master images, you might find you have 1,000 photos. But, your database records might be off and only think you have 950. When you launch the iPhoto application, this could cause problems and prevent those last 50 photos from being shown to you.
How We Can Fix This:
In a repair procedure, it will go in and compare how many actual photos it finds in your library file to how many the database believes it has. If the numbers are off, it will fix this and “re-attach” to the ones it wasn't “aware” that it had before.
Additionally, if this repair procedure doesn't work, there is a “stronger” one that will actually rebuild your database.
Apple states on their support page:
Sometimes rebuilding the library may resolve issues such as the library appearing to be unreadable, missing photos, or other issues related to reading the iPhoto library structure.
My Background Finding Missing Library Files:
So, like I tell everyone that I help, I still can't give you first-hand knowledge of how to deal with your problem, since I've never even been able to reproduce the situation. And often, I never hear back from them, so I never find out exactly what fixed their particular problem.
But, what I can tell you from everything that I've heard from people with these problems, and from those that I have helped, is that in a few rare cases, iPhoto libraries seem to go missing during upgrades of iPhoto library files when a major version of iPhoto was just installed, and when their iPhone is connected to their computers and is doing various kinds of syncs and imports.
It's very strange. Coming from their stories, it's as if in these situations when there is a problem, the software makes a decision to move the Library file somewhere else — possibly to the OSX trash bin!? And then iPhoto creates a whole new (and empty) library file. I of course easier not to believe all of this, but I've heard this story many times now, over and over, so I've had to accept that something strange is in fact going on.
“INSTRUCTIONS
But, for the safety of your photo collection, since there's a tiny chance something could go wrong with this procedure, please make sure you have a good backup of your library file. You can’t be too safe when it comes to your irreplaceable photo collection.
Help With a Simple Backup
If you need more guidance on how to safely do this, watch this video I created on how to move your library file in the following blog post:
How To Safely Move Your iPhoto Library to Another Hard Drive (Video Tutorial)
⇒ Understand though you will not be doing the last step in this video which is deleting your original library file. In your case here, you are just making a copy, not “moving” to copy it and then “deleting” your original version.
If you still can’t find them, repeat this process from step (2) but this time instead choose to rebuild the database from the list.
Additional Information:
Testimonials
Even though the library was 26GB. I did the rebuild database and it imported over 8,000 photos I had stored in there. Thank you!!!”
— Shelley Seale
Thank you SO much !!”
— Rikke Dige
Repair and Rebuild iPhoto using “iPhoto Library Manager”
By default, any time you launch the iPhoto application, it loads up the photo library file that was loaded when quitting out of the application last.
If you are trying to run Apple's first aid procedures to fix a photo library file that wasn't the one loaded the last time you launched iPhoto, or a library file that even the “first aid” part of the iPhoto application can't even seem to open (because it's so badly damaged), you may need to move on to a tool that will be more “powerful” and one you can specifically target at the correct library file you want to fix.
This tool is a third party piece of software — and really the only one out there of its kind as far as I can tell.
“iPhoto Library Manager” by Fatcat software is an application that does many things including the ability to merge 2 library files. But in particular, it offers “Rebuilding Corrupt Libraries.”
http://www.fatcatsoftware.com/iplm/
What I really like about Brian Webster’s approach is that his application doesn’t just try and fix your current “damaged” library, it instead (more safely) creates a completely new library file and pulls in all the photos and data it needs from your “damaged” one:
Sometimes, an iPhoto library will become corrupted, with missing photos, mysterious iPhoto hangs, or outright crashes. With iPhoto Library Manager, you can rebuild a new library based on your current library, starting with a fresh database free of corruption. You can even scavenge photos from the library that iPhoto may have lost track of.
“INSTRUCTIONS
2) Click “Add Library” and select your original library file that you want to try and fix in the window that comes up.
3) Your library should now show up in the left hand side of the application. Click on this library and then go up to the menu at the top and click “Library” and then “Rebuild Library.”
4) You will then be given a new window that is asking you where you want to save this new library file. (Because iPLM doesn’t try and fix your original library — it rebuilds a new one using your old one — it needs to know where you want to store this new library file). If you can give it a name, call it “iPhoto-new” or something to differentiate it from your old library.
5) Click “Create” and let it go to work.