Section 6.4. Where iPhoto Keeps Your Files


6.4. Where iPhoto Keeps Your Files

Having entrusted your vast collection of digital photos to iPhoto, you may find yourself wondering, "Where's iPhoto putting all those files, anyway?"

Most people slog through life, eyes to the road, without ever knowing the answer. After all, you can preview, open , edit, rotate, copy, export, and print all your photos right in iPhoto, without actually opening a folder or double-clicking a single JPEG file.

Even so, it's worthwhile to know where iPhoto keeps your pictures on the hard drive. Armed with this information, you can keep those valuable files backed up and avoid the chance of accidentally throwing them away six months from now when you're cleaning up your hard drive.

6.4.1. A Trip to the Library

Whenever you import pictures into iPhoto, the program makes copies of your photos, always leaving your original files untouched.

  • When you import from a camera, iPhoto leaves the photos right where they are on its memory card (unless you use the "Erase" option).

  • When you import from the hard drive, iPhoto leaves the originals in whichever folders they're in. As a result, transferring photos from your hard drive into iPhoto more than doubles the amount of disk space they take up. In other words, importing 1 GB of photos requires an additional 1 GB of disk space, because you'll end up with two copies of each file: the original, and iPhoto's copy of the photo. In addition, iPhoto creates a separate thumbnail version of each picture, consuming about another 10 K to 20 K per photo.

iPhoto stores its copies of your pictures in a special folder called iPhoto Library, which you can find in your Home Pictures folder. (To find your Home folder, begin in the Finder and choose Go Home.) If the short name you use to log into Mac OS X is mozart , the full path to your iPhoto Library folder from the main hard drive window would be Macintosh HD Users mozart Pictures iPhoto Library.

FREQUENTLY ASKED QUESTION
Moving the iPhoto Library

Do I have to keep my photos in the iPhoto Library folder? What if I want them stored somewhere else ?

No problemo! iPhoto has come a long way since the days when it could keep track of photos only if they were in its own folder structure within the iPhoto Library folder.

Just quit iPhoto. Then move the whole iPhoto Library folder (currently in your Home Pictures folder) to another locationeven onto another hard drive.

Then open iPhoto again. It will proclaim that it can't find your iPhoto Library folder. Now click the Find Library button to show the program where you put the folder. Done deal!



Tip: You should back up this iPhoto Library folder regularlyusing the Burn command to save it onto a CD or DVD, for example. After all, it contains all the photos you import into iPhoto, which, essentially , is your entire photography collection. Chapter 12 offers much more on this file management topic.
6.4.1.1. What all those numbers mean

Within the iPhoto Library folder, you'll find a set of mysteriously numbered files and folders. At first glance, this setup may look bizarre, but there's a method to iPhoto's madness. It turns out that iPhoto meticulously arranges your photos within these numbered folders according to the creation dates of the originals, as explained in Figure 6-10.

6.4.1.2. Folders inside the year/month/date folders

A few mysterious icons appear inside each year/month/date photo folder, too, right alongside your JPEG photo files. They include:

Figure 6-10. Behold the mysteries of the iPhoto Library. Once you know the secret, this seemingly cryptic folder structure actually makes sense, with all the photos in the library organized by their creation dates.


  • Thumbs folder . Here, iPhoto stores the small thumbnail versions of the pictures in your Photo Librarythe "slides" that actually appear in the iPhoto window.

    These images are numbered in the order in which they were imported.

  • Originals folder . Some photo folders may contain an Originals folder. It doesn't appear until you use one of iPhoto's editing tools (Chapter 8) to touch up a photo. The Originals folder is the key to one of iPhoto's most remarkable features: the Revert to Original command.

    Before it applies any potentially destructive operations to your photoslike cropping, red-eye removal, brightening, black-and-white conversioniPhoto duplicates the files and stuffs pristine, unedited copies of them in the Originals folder. If you later decide to scrap your changes to a photo using the Revert to Original commandeven months or years lateriPhoto moves the unedited file back into its original location, returning your photo to its originally imported state.


Note: Don't confuse the files in the Originals folders with your true originals: the files on your hard drive, camera, or memory card that you first imported into iPhoto. As mentioned earlier, iPhoto never touches those originals; they stay exactly where they were when you imported them.
6.4.1.3. Look, don't touch

While it's enlightening to wander through the iPhoto Library folder to see how iPhoto keeps itself organized, don't rename or move any of the folders or files in it. Making such changes will confuse iPhoto to the point where it will either be unable to display some of your photos or it'll just crash.