The Ansel Adams part of your job is over. Your digital camera is brimming with photos. You’ve snapped the perfect graduation portrait, captured that jaw-dropping sunset over the Pacific, or compiled an unforgettable photo essay of your 2-year-old attempting to eat a bowl of spaghetti. It’s time to use your Mac to gather, organize, and tweak all these photos so you can share them with the rest of the world.
That’s the core of this book—compiling, organizing, and adjusting your pictures using iPhoto, and then transforming this collection of digital photos into a professional-looking slideshow, set of prints, movie, Web page, poster, email, desktop picture set, or bound book.
But before you start organizing and publishing these pictures using iPhoto, they have to find their way from your camera to the Mac. This chapter explains how to get pictures from camera to computer and introduces you to iPhoto.
Import. Working with iPhoto begins with feeding your digital pictures into the program, either from a camera or from somewhere else on your Mac.
Organize. This step is about sorting and categorizing your chaotic jumble of pictures so you can easily find them and arrange them into logical groups. You can add searchable keywords like Vacation or Kids to make pictures easier to find. You can change the order of images, and group them into folders called albums. You can group your pictures based on who’s in them, and have iPhoto help match names to faces. You can pin your photos to a virtual map that shows your travels around the globe. Chapters Chapter 2 and Chapter 3 cover all of iPhoto’s organization tools, and Chapter 4 explains iPhoto ’09’s two coolest features: Faces and Places.
Edit. This is where you fine-tune your photos to make them look as good as possible. iPhoto provides everything you need for rotating, retouching, resizing, cropping, color-balancing, straightening, and brightening your pictures. (More significant image adjustments—like editing out an ex-spouse—require a different program, like Photoshop.) Editing your photos is the focus of Chapter 5.
Share. iPhoto’s best features have to do with sharing your photos, either onscreen or on paper. In fact, iPhoto offers nine different ways of publishing your pictures. In addition to printing pictures on your own printer (in a variety of interesting layouts and book styles), you can display images as an onscreen slideshow, turn the slideshow into a QuickTime movie, order professional-quality prints or a professionally bound book, email them, apply one to your desktop as a desktop backdrop, select a batch to become your Mac OS X screen saver, post them online as a Web page, and so on.
Although much of this book is focused on using digital cameras, remember this: You don’t have to shoot digital photos to use iPhoto. You can just as easily use it to organize and publish pictures you’ve shot with a traditional film camera and then digitized using a scanner (or had Kodak convert into a photo CD). Importing scanned photos is covered later in this chapter.
The truth is, iPhoto may be among the most memory-dependent programs on your Mac. It loves memory. Memory is even more important to iPhoto than your Mac’s processor speed. It makes the difference between tolerable speed and sluggishness. So the more memory and horsepower your Mac has, the happier you’ll be.
Finally, of course, you’ll need a lot of hard drive space—not just several gigabytes for iPhoto and the other iLife programs, but also lots of gigabytes for all the photos you’ll be transferring to your Mac.
A free version of iPhoto has been included on every Mac sold since January 2002. If your Mac falls into that category, then you’ll find iPhoto in your Applications folder. (You can tell which version you have by single-clicking its icon and then choosing File→Get Info. In the resulting info window, you’ll see the version number as clear as day.)
If you bought your Mac after January 2009, you probably have iPhoto ’09 installed. Otherwise, it’s available only as part of Apple’s iLife ’09 software suite—an $80 DVD that includes GarageBand, iMovie, iPhoto, iDVD, and iWeb. You can get the iLife box from www.apple.com/store, mail-order Web sites, or local computer stores.
When you run the iLife installer, you’re offered a choice of programs to install. Install all five programs, if you like, or just iPhoto.
When the installation process is over, you’ll find the iPhoto icon in your Applications folder. (In the Finder, choose Go→Applications, or press Shift-⌘-A, to open this folder.) You’ll also find the iPhoto icon—the little camera superimposed on the palm tree—preinstalled in your Dock, so you’ll be able to open it more conveniently from now on.
If you’ve used an earlier version of iPhoto, then you’d be wise to make a backup of your iPhoto library—your database of photos—before running iPhoto ’09. That’s because iPhoto ’09’s first bit of business is converting that library into a new, more efficient format that’s incompatible with earlier iPhotos (see Figure 1-1, bottom).
Ordinarily, the upgrade process is seamless: iPhoto smoothly converts and displays your existing photos, comments, titles, and albums. But lightning does strike, fuses do blow, and the technology gods have a cruel sense of humor—so making a backup copy before iPhoto converts your old library is very, very smart.
To perform this safety measure, open your Home→Pictures folder, and then copy or duplicate the iPhoto Library icon. (This folder may be huge, since it contains copies of all the photos you’ve imported into iPhoto. This is a solid argument for copying it onto a second hard drive, an iPod, or a bunch of burnable DVDs; see iPhoto Backups.) Now, if anything should go wrong with the conversion process, you’ll still have a clean, uncorrupted copy of your iPhoto library files.
Double-click the iPhoto icon to open the program. After you dismiss the “Welcome to iPhoto” dialog box (Figure 1-1, top), iPhoto checks to see if you have an older version and, if so, offers to convert its photo library (Figure 1-1, bottom).
Finally, you arrive at the program’s main window, the basic elements of which are shown in Figure 1-2.
With iPhoto installed and ready to run, it’s time for you to import your own pictures into the program—a process that’s remarkably easy, especially if your photos are going directly from your camera into iPhoto.
Of course, if you’ve been taking digital photos for some time, you probably have a lot of photo files already crammed into folders on your hard drive or on flash drives or CDs. If you shoot pictures with a traditional film camera and use a scanner to digitize them, you’ve probably got piles of JPEG or TIFF images stashed away on disk already, waiting to be cataloged using iPhoto.
This section explains how to transfer files into iPhoto from each of these sources.
Plugging a USB-compatible camera into your Mac is the easiest way to transfer pictures from your camera into iPhoto.
A few cameras require a pre-step right about here: turning the Mode dial on the top to whatever tiny symbol means “computer connection.” If yours does, do that.
The whole process practically happens by itself:
Connect the camera to one of your Mac’s USB jacks. Turn the camera on.
To make this camera-to-Mac USB connection, you need what is usually called an A-to-B USB cable; your camera probably came with one. The “A” end—the part you plug into your camera—has a small, flat-bottomed plug whose shape varies by manufacturer. The Mac end of the cable has a larger, flatter, rectangular, standard USB plug. Make sure both ends of the cable are plugged in firmly.
If iPhoto isn’t already running when you make this connection, the program opens and springs into action as soon as you switch on the camera.
If this is the first time you’ve ever run iPhoto, it asks if you always want it to run when you plug in the camera. If you value your time, say yes. (Why is it even asking? Because, believe it or not, your Mac came with another program that can import photos from a camera. It’s called Image Capture, it’s in your Applications folder, and you can use its Preferences command to specify which program you want to open automatically when you connect your camera.)
In iPhoto ’09, a wonderful thing happens when you connect the camera: After a pause, you get to see thumbnails (miniature images) of all the photos on your camera’s memory card, as shown in Figure 1-3.
If, for some reason, iPhoto doesn’t “see” your camera after you connect it, try turning the camera off, then on again.
How is this wonderful? Let us count the ways. First, it means that you can see right away what’s on the card. You don’t have to sit through the time-consuming importing process just to discover, when it’s all over, that you grabbed the wrong card or the wrong camera.
Second, you can choose to import only some of the pictures. (To choose the photos you want to import, use any of the photo-selection techniques described on Selecting Photos.)
The option to import only some of the photos opens up a whole new workflow possibility: You can leave all the photos on your memory card, all the time. You can take new photos each day, and import only those onto your Mac each night. If your memory card is big enough, this routine means that you always have a backup of your photos.
If you’ve decided to work this way, then you can save yourself some time and worry by turning on “Hide photos already imported,” a checkbox at the bottom of the screen. Now, each time you connect the camera, you’ll be shown only the new photos, the ones you haven’t imported yet. One quick click on the Import All button (step 3) brings in only the latest shots, without your having to pick through the whole collection on the card, trying to remember which pictures you’ve already downloaded to your Mac.
Something else happens when you connect the camera, too: Its name and icon appear in the Source list. That’s handy, because it means that you can switch back and forth between the importing mode (click the camera’s icon) and the regular working-in-iPhoto mode (click any other icon in the Source list), even while the time-consuming importing is under way.
An Event, in iPhoto’s little head, is “something you photographed within a certain time period” (for example, on a certain day or during a certain week). This was a new photo-organization concept in iPhoto ’08 (it replaced the old film rolls concept), but it makes a lot of sense.
See, in the old days, iPhoto just imported everything on your memory card and displayed all of those pictures in one gigantic clump—even if they included photos from several different events, shot weeks apart.
You can read much more about Events on Albums. In the meantime, your job here is to type a name for the event whose photos you’re about to import. It could be Disney Trip, Casey’s Birthday, or Baby Meets Lasagna, for example—anything that will help you organize and find your pictures later. (Use the Description box for more elaborate textual blurbs, if you like. You could specify who was on the trip, the circumstances of the shoot, and so on.)
See the checkbox called “Autosplit events after importing”? If you turn on this box, then iPhoto will automatically group the imported pictures into Events, as described above; you will not, however, be offered the chance to name the Events (except for the first one) until after the importing is over.
If this option is turned off, then all the photos will end up in one giant Event. (You can always split up this one giant batch into several Events later.)
If you selected just some of the photos in step 1, then the Import Selected button springs to life. Clicking it brings only the highlighted photos onto your Mac, and ignores the rest of the camera’s photos.
If you click Import All, well, you’ll get all of the photos on the card, even if only some are selected.
At this point, you might see a special message appear if you’re about to import photos you’ve already imported (Figure 1-4, top).
In any case, iPhoto swings into action, copying each photo from your camera to your hard drive. You get to see them as they parade by (Figure 1-4, bottom).
If you click Delete Originals, iPhoto deletes the transferred photos from the memory card (either all the photos or just the selected ones, depending on the button you clicked at the beginning of step 3). The memory card will have that much more free space for another exciting photo safari.
If you click Keep Originals, then iPhoto leaves the memory card untouched. You might opt for this approach if you’ve adopted the “use the card as a backup” lifestyle described on Connecting with a USB Camera. (You can always use the camera’s own menus to erase its memory card.)
Or, if the button doesn’t appear, just drag the camera’s icon directly onto the Trash icon in the Source list. You’re not actually throwing the camera away, of course, or even the photos on it—you’re just saying, “Eject this.” Even if the camera’s still attached to your Mac, its icon disappears from the Source list.
Alternatively, you can Control-click or right-click the camera’s icon and then choose Eject from the shortcut menu.
At last, your freshly imported photos appear in the main iPhoto window, awaiting your organizational talents.
You’re ready to start having fun with your new pictures (The Post-Import Inspection).
A USB memory card reader offers another convenient way to transfer photos into iPhoto. Most of these card readers, which look like tiny disk drives, are under $20, and some can read more than one kind of memory card.
If you have a reader, then instead of connecting the camera to the Mac, simply remove the camera’s memory card and insert it into the reader (which you can leave permanently connected to the Mac). iPhoto recognizes the reader as though it’s a camera and offers to import the photos, all of them or some of them, just as described on the previous pages.
This method offers several advantages over the camera-connection method. First, it eliminates the battery drain involved in pumping the photos straight off the camera. Second, it’s less hassle to pull a memory card out of your camera and slip it into your card reader (which is always plugged in) than it is to constantly plug and unplug camera cables. Finally, this method lets you use almost any digital camera with iPhoto, even those too old to include a USB cable connector.
iPhoto doesn’t recognize most camcorders, even though most models can take still pictures. Many camcorders store their stills on a memory card just as digital cameras do, so a memory card reader is exactly what you need to get those pictures into iPhoto.
Connecting with a USB card reader is almost identical to connecting a camera. Here’s how:
Pop the memory card out of your camera, and then insert it into the reader.
Of course, the card reader should already be plugged into the Mac’s USB jack.
As when you connect a camera, iPhoto displays the thumbnails of all the photos on the card, and you’re offered a chance to type in an Event name and description.
Click Import All (or Import Selected).
iPhoto swings into action, copying the photos off the card. When you’re asked how you want iPhoto to deal with the originals on the memory card, click either Delete Originals or Keep Originals.
Put the card back into the camera, so it’s ready for more action.
First, copy the photos from your camera/memory card onto your hard drive (or other disk) using whatever software or hardware came with your camera. Then bring them into iPhoto as you would any other graphics files, as described next.
Now, for years, Mac fans complained about the way iPhoto handled photos that were already on the hard drive: When you imported them into iPhoto, the program duplicated them. You wound up with one set inside iPhoto’s proprietary library package (Where iPhoto Keeps Your Files) in addition to the original folder full of photos. Disk space got eaten up rather quickly as a result. This system also meant that iPhoto couldn’t simultaneously track photos that resided on more than one hard drive.
But today’s iPhoto can track, organize, edit, and process photos on your hard drive(s) right in place, right in the folders that contain them. The program doesn’t have to copy them into the iPhoto library, doesn’t have to double their disk-space consumption.
This is a blessing if you already have folders filled with photos. You can drag them directly into iPhoto’s Source list (or the main viewing area). iPhoto acts like it’s importing them, but doesn’t really. Yet you can work with them exactly like the ones that iPhoto has actually socked away in its own library.
If you choose to go this route, here are a few tips and notes:
Very ugly things will happen in iPhoto if you delete a photo “behind its back,” in the Finder. When, in iPhoto, you try to open or edit one of the deleted photos, an error message will appear, offering you the chance to locate the photo manually. And if you can’t find it, then the photo opens up as a huge, empty, gray rectangle filled with an exclamation point. (You kind of know what the program means.)
Apple doesn’t really want this feature publicized, hopes you won’t try it, and won’t say how iPhoto manages to track pictures that you move around even when the program isn’t running.
But it works. Moved or renamed photos still appear in iPhoto, and you can still open, edit, and export them.
If you delete a photo within iPhoto, you’re not actually deleting it from your Mac. It’s still sitting there in the Finder, in the folder where it’s always been. You’ve just told iPhoto not to track that photo any more.
Using this feature, you can use iPhoto to catalog and edit photos that reside on multiple hard drives—even other computers on the network. Just make sure those other disks are “mounted” (visible on your screen) before you attempt to work with them in iPhoto.
On the other hand, iPhoto’s new offline smarts don’t make it a good choice for managing photos on CDs, DVDs, or other disks that aren’t actually connected to, or inserted in, the Mac.
Now, it’s nice that iPhoto can track external photos without having to make its own private copies. But the old way had some advantages, too. When iPhoto copies photos into its own library, they’re safer. For example, you can back up your iPhoto library, content in the knowledge that you’ve really backed up all your photos (instead of leaving some behind because they’re not actually in the library).
Fortunately, how iPhoto behaves when you import graphics files is entirely up to you. It can either copy them into its own library or it can track photos in whatever Finder folders they’re already in. You make this choice in the iPhoto→Preferences dialog box (Figure 1-5, top).
Drag the files directly into the main iPhoto window, which automatically starts the import process. You can also drop an entire folder of images into iPhoto to import the contents of the whole folder, as shown at the bottom of Figure 1-5. You can even drag a bunch of folders at once.
Take the time to name your folders intelligently before dragging them into iPhoto, because the program retains their names. If you drag a folder directly into the main photo area, then you get a new Event named for the folder; if you drag the folder into the Source list on the left side of the screen, then you get a new album named for the folder. And if there are folders inside folders, then they too become new Events and albums. Details on all this reside in Chapter 2.
Choose File→Import to Library (or press Shift-⌘-I) in iPhoto and select a file or folder in the Open dialog box, shown in Figure 1-6.
These techniques also let you select and import files from other hard drives, CDs, DVDs, iPods, flash drives, or other disks on the network.
For example, if you use the Mail program of Mac OS X 10.5 (Leopard) and someone sends you a photo, you can pop it directly into iPhoto from within the email message. Just click the little Save button that appears above the body of the message. From the pop-up menu, choose Add to iPhoto.
In Mac OS X 10.5, you can begin a slideshow right from the Finder. Highlight some icons, and then just press the space bar to open the Quick Look preview.
Once the slideshow is under way, wiggle the mouse to produce the slideshow control bar. See that? Second button from the end: the Add to iPhoto button.
(The same toolbar, and the same button, appear anywhere else fine slideshows are found in Mac OS X, including Preview and Mail.)
Both of those handy buttons deposit a copy of the photo directly into your iPhoto collection, even if iPhoto isn’t open at the time.
iPhoto can’t import digital pictures unless it understands their file formats, but that rarely poses a problem. Every digital camera on earth can save its photos as JPEG files—and iPhoto handles this format beautifully. (JPEG is the world’s most popular file format for photos, because even though it’s compressed to occupy a lot less disk space, the visual quality is still very high.)
But iPhoto ’09 imports and recognizes some very useful additional formats.
Most digital cameras work like this: When you squeeze the shutter button, the camera studies the data picked up by its sensors. The circuitry then makes decisions pertaining to sharpening level, contrast and saturation settings, color “temperature,” white balance, and so on—and then saves the resulting processed image as a compressed JPEG file on your memory card.
For millions of people, the resulting picture quality is just fine, even terrific. But all that in-camera processing drives professional photographers nuts. They’d much rather preserve every last iota of original picture information, no matter how huge the resulting file on the memory card—and then process the file by hand once it’s been safely transferred to the Mac, using a program like Photoshop.
That’s the idea behind RAW, which is an option in many pricier digital cameras. (RAW stands for nothing in particular, and it’s usually written in all capital letters like that just to denote how imposing and important serious photographers think it is.)
A RAW image isn’t processed at all; it’s a complete record of all the data passed along by the camera’s sensors. As a result, each RAW photo takes up much more space on your memory card. For example, on a 6-megapixel camera, a JPEG photo is around 2 MB, but the same picture is over 8 MB when saved as a RAW file. Most cameras take longer to store RAW photos on the card, too.
But for image-manipulation nerds, the beauty of RAW files is that once you open them up on the Mac, you can perform astounding acts of editing on them. You can actually change the lighting of the scene—retroactively! And you don’t lose a single speck of image quality along the way.
Until recently, most people used a program like Photoshop or Photoshop Elements to do this kind of editing. But amazingly enough, humble, cheap little iPhoto ’09 can edit RAW files, too. For details on editing RAW images, see Chapter 5.
Not every camera offers an option to save your files in RAW. And among those that do, not all are iPhoto compatible. Apple maintains a partial list of compatible cameras at http://support.apple.com/kb/HT1475. (Why are only some cameras compatible? Because RAW is a concept, not a file format. Each camera company stores its photo data in a different way, so in fact, there are dozens of different file formats in the RAW world. Programs like iPhoto must be upgraded periodically to accommodate new camera models’ emerging flavors of RAW.)
In addition to still photos, today’s digital cameras can also capture digital movies. These are no longer jittery, silent affairs the size of a Wheat Thin; modern cameras capture full-blown, 30-frames-per-second, fill-your-screen movies—even high-definition movies!
Movies eat up a memory card fast, but you can’t beat the convenience, and the quality comes breathtakingly close to camcorder quality. (Recent camera models can even zoom and change focus while “filming,” just like a camcorder.)
Fortunately, iPhoto can import and organize them. The program recognizes .mov files, .avi files, and many other movie formats. In fact, it can import any format that QuickTime Player (the program on your Mac that actually plays these movies) recognizes, which is a very long list indeed.
You don’t have to do anything special to import movies; they get slurped in automatically. To play one of these movies once it’s in iPhoto, see Figure 1-7.
TIFF. Most digital cameras capture photos in a graphics file format called JPEG. Some cameras, though, offer you the chance to leave your photos uncompressed on the camera, in what’s called TIFF format. These files are huge—in fact, you’ll be lucky if you can fit one TIFF file on the memory card that came with the camera. Fortunately, they retain 100 percent of the picture’s original quality.
Note, however, that the instant you edit a TIFF-format photo (Chapter 5), iPhoto converts it into JPEG.
That’s fine if you plan to order prints or a photo book (Chapter 9) from iPhoto, since JPEG files are required for those purposes. But if you took that once-in-a-lifetime, priceless shot as a TIFF file, then don’t do any editing in iPhoto—don’t even rotate it—if you hope to maintain its perfect, pristine quality.
GIF is the most common format used for non-photographic images on Web pages. The borders, backgrounds, and logos you typically encounter on Web sites are usually GIF files—as well as 98 percent of those blinking, flashing banner ads that drive you insane.
PICT was the original graphics file format of the Macintosh before Mac OS X. When you take a screenshot from Mac OS 9, paste a picture from the Clipboard, or copy an image from the Scrapbook, you’re using a PICT file.
Photoshop refers to Adobe Photoshop, the world’s most popular image-editing and photo-retouching program. iPhoto can even recognize and import layered Photoshop files—those in which different image adjustments or graphic elements are stored in sandwiched-together layers.
MacPaint is the ancient file format of Apple’s very first graphics program from the mid-1980s. No, you probably won’t be working with any MacPaint files in iPhoto, but isn’t it nice to know that if one of these old, black-and-white, 8 × 10 pictures, generated on a vintage Mac SE, happens to slip through a wormhole in the fabric of time and land on your desk, you’ll be ready?
In version ’09, iPhoto is a better PDF reader than ever. You can open a PDF document at full-screen size, page through it, even crop or edit it as though it were a photo. In fact, Mac OS X makes it extra easy to create PDFs and stash them in iPhoto all in one step, as described in the box on Side Doors into iPhoto.
If you try to import a file that iPhoto doesn’t understand, you see the message shown in Figure 1-8.
Once you’ve imported a batch of pictures into iPhoto, what’s the first thing you want to do? If you’re like most people, this is the first opportunity you have to see, at full-screen size, the masterpieces you and your camera created. After all, until this moment, the only sight you’ve had of your photos was on the little screen on the back of the camera.
In iPhoto ’09, there’s a great way to go about inspecting your pictures after you’ve imported them: the “double-click to magnify” feature.
Once you’ve imported some pictures, click the Last Import icon in the Source list. In the main iPhoto window, you’re now treated to a soon-to-be-familiar display: a grid of thumbnails. In this case, they represent the pictures you just imported.
Double-click the first one. If all goes well, it now swells to fill the main part of the iPhoto window, as shown in Figure 1-9.
If you don’t see something like Figure 1-9, then it’s likely that you or somebody else has changed the iPhoto preferences so that double-clicking a thumbnail does not magnify a photo for inspection. Choose iPhoto→Preferences, click General, and where it says “Double-clicking a photo,” select “Magnifies photo.” Close the Preferences window.
After the shock of seeing the giant-sized version of your photo has worn off, press the → key on your keyboard to bring the second one into view. Press it again to continue walking through your imported photos, checking them out.
This is the perfect opportunity to throw away lousy shots, fix the rotation, and linger on certain photos for more study. You can even apply a rating with a keyboard shortcut; later, you can use these ratings to sort your pictures or create smart albums. See Chapters Chapter 2, Chapter 3, and Chapter 4 for full details on smart albums and ratings.
Click inside the photo to demagnify it. You return to the window full of thumbnails. (Double-click another one to magnify it and return to the inspection process.)
Press the ↑ or → keys on your keyboard to browse back and forth through your photos.
Click the Rotate button to flip a photo, 90 degrees at a time. (Option-click to rotate the photo in the opposite direction.)
Give each photo a rating in stars, from 1 (terrible) to 5 (terrific). To do that, press ⌘-1 through ⌘-5 (or press ⌘-0 to remove the rating). Chapter 4, which explains how to add name and place tags to pictures, also tells you how add star ratings when editing each photo’s Info box (page 88).
Press Delete on your keyboard to delete a photo.
Click the Hide button to hide a photo. You return to the thumbnails view, the photo you were looking at fades away, and the remaining thumbnails slide over to close the gap.
Hiding a photo isn’t the same as deleting it; the photo’s out of your way, but it’s still in your library, and you can always bring it back. More on hiding photos appears on Hiding Photos.
Click the Flag button to flag a photo. Flagging means whatever you want it to mean. It could mean “This one’s a winner,” “Send this one to Uncle Morty,” “Edit me,” or whatever you decide. Flagging Photos has the details.
Click Edit to open the editing mode described in Chapter 5, where you can take care of jobs like cropping, color-correcting, or adjusting the exposure of a picture.
The other buttons on the bottom-edge toolbar offer ways to share photos or add names to them, and you can customize the assortment here; see Show in Toolbar.
When you’re finished walking through your pictures, click anywhere on the photo to return to your thumbnails.
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.
As you now know, when you import pictures into iPhoto, the program generally makes copies of your photos, always leaving your original files untouched. (Of course, if you tell iPhoto to erase your camera’s memory card after importing, then the originals aren’t untouched—they’re obliterated. But you get the point.)
iPhoto stores its copies of your pictures in a special folder called iPhoto Library, which you can find in your Home→Pictures folder. If the short name you use to log into Mac OS X is mozart, then the full path to your iPhoto Library folder from the main hard drive window would be Macintosh HD→Users→mozart→Pictures→iPhoto Library.
Tip: You should back up the iPhoto Library regularly—using 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 13 offers much more on this file-management topic.
Now, if you’re following along in the comfort of your own living room, you might be objecting to the description of the iPhoto Library. “Hey,” you might be saying, “that’s not a folder! In old versions of iPhoto, it was a folder. But I can’t open this one to see what’s inside. So it’s not a folder.”
OK, you’ re right—it’s not an ordinary folder. It’s a package.
In Mac OS X, packages or bundles are folders that behave like single files. For example, every properly written Mac OS X program looks like a single, double-clickable application icon. Yet to the Mac, it’s actually a folder that contains both the actual application icon and all of its hidden support files. (Even documents can be packages, including iDVD project files, iMovie 6 files, and some TextEdit documents.)
As it turns out, iPhoto ’09’s library is a package, too. It may look like a single icon called iPhoto Library, sitting in your Home→Pictures folder. But it’s actually a folder, and it’s absolutely teeming with the individual JPEG files that represent your photos.
If you’d like to prove this to yourself, try this experiment. Choose Go→Home. Double-click the Pictures folder. See the iPhoto Library icon?
Control-click it or right-click it. From the shortcut menu, choose Show Package Contents. You’re asking Mac OS X to show you what’s inside the iPhoto Library.
The iPhoto Library package window opens.
Within the iPhoto Library, 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 1-10.
AlbumData.xml. Here’s where iPhoto stores access permissions for the various photo albums you’ve created within iPhoto. (Albums, which are like folders for organizing photos, are described in Chapter 2.) For example, it’s where iPhoto keeps information on which albums are available for sharing across the network (or among accounts on a single machine). Details on sharing are in Chapter 8.
Dir.data, iPhoto.db, Library.data, Library6.iPhoto. These are iPhoto’s for-internal-use-only documents. They store information about your iPhoto Library, such as which keywords you’ve used, along with the image dimensions, file size, rating, and modification date for each photo.
Data. This folder contains index card-sized previews of your pictures—jumbo thumbnails, in effect—organized in the year/month/day structure shown in Figure 1-10.
Originals. This folder is the real deal: It’s the folder that stores your entire photo collection. Inside, you’ll find nested folders organized in the year/month/day structure illustrated in Figure 1-10.
This folder is also the key to one of iPhoto’s most remarkable features: the Revert to Original command.
Whenever it applies any potentially destructive operations to your photos—like cropping, red-eye removal, brightening, or black-and-white conversion—iPhoto duplicates the files and stuffs the edited copies in the Modified folder. The pristine, unedited versions remain safely in the Originals folder. If you later decide to scrap your changes to a photo using the Revert to Original command (The Official Way)—even months or years later—then iPhoto ditches the duplicate. What you see in iPhoto is the original version, preserved in its originally imported state.
Modified. Here are the latest versions of your pictures, as edited. (Remember, behind the scenes, iPhoto actually duplicates a photo when you edit it.)
While it’s enlightening to wander through the iPhoto Library window to see how iPhoto keeps itself organized, don’t rename or move any of the folders or files in it.
You should do all of your photo organizing within the iPhoto program, not behind its back in the library. Making changes in the Finder will confuse iPhoto to the point where it will either be unable to display some of your photos or it’ll just crash.
And that, by the way, is precisely why the iPhoto Library is now a package (which takes some effort and knowledge to open) instead of a regular folder. Apple Tech Support evidently got one too many phone calls from clueless Mac users who’d opened the iPhoto Library manually and wound up deleting or damaging their photo collections.