Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: A fix to force Spotlight to index iPhoto images System 10.4
Tiger only hintSpotlight should be able to find pictures in your iPhoto library, if you are using iPhoto 5.0.2 (or later, I presume). However, if you kept iLife up to date and upgraded to iPhoto 5.0.2 *before* installing Tiger, you'll find that Spotlight never finds any of your pictures. The fix is simple.
  1. Quit iPhoto
  2. Delete ~/Library/Pictures/iPhoto Library/iPhoto.ipspot
  3. Start iPhoto
  4. Use Spotlight to search for keywords or comments on your pictures.
Unfortunately, the file names Spotlight returns are not helpful in finding the right match from the Spotlight window. If iPhoto renamed the picture files, instead of leaving them named IMG_01234.JPG (or whatever your camera calls images), that would help.

The iPhoto.ipspot file just contains the path to your AlbumData.xml file and gets recreated (presumably after iPhoto has updated something else).

[robg adds: My iPhoto was upgraded prior to Tiger installation, but everything seems to be working fine. I have heard reports of no iPhoto indexing, though, so maybe this will help someone...]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[15,166 views]  

10.4: A fix to force Spotlight to index iPhoto images | 12 comments | Create New Account
Click here to return to the '10.4: A fix to force Spotlight to index iPhoto images' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: A fix to force Spotlight to index iPhoto images
Authored by: tj2001 on May 16, '05 12:19:47PM

Just curious but is the file you are speaking of actually in this path?
~/Pictures/iPhoto Library/iPhoto.ipspot

Just a correction to this hint :D

---
--- Just Me ---
:: Super Me I am ::



[ Reply to This | # ]
Yup
Authored by: lullabud on May 16, '05 01:24:05PM

Yeah, that's the same place mine was. Must've been wrong in the original hint.



[ Reply to This | # ]
10.4: A fix to force Spotlight to index iPhoto images
Authored by: steffi on May 16, '05 05:52:19PM

I'm not so sure about this.

For instance, I don't think the photo importer knows anything about the AlbumData.xml file. Or does it.

What is it that actually updates the metadata of the images then? I was under the impression that any images prior to upgrading iphoto did not have the correct metadata. So in order for me to find my photos by keyword I had to make sure iphoto resaved it's keywords for all images in my library. For me that meant adding a dummy keyword to all images and then removing it. Then lsmd shows me that the metadata has been updated for each image.



[ Reply to This | # ]
10.4: A fix to force Spotlight to index iPhoto images
Authored by: zee_on on May 17, '05 03:50:23AM

I had to do the same thing as you, vary annoying, in fact I am only about a tenth of the way there, I had all 10000 photos tagged, or keyworded as apple wants us to say, and now I have to add a dummy keyword, then delete the old one, then add it again, then delete the dummy keyword, luckily I can just do that for each keyword, because of the quick search inside iphoto, wish there was an easier way.

this hint DOES NOT help this problem.



[ Reply to This | # ]
10.4: A fix to force Spotlight to index iPhoto images
Authored by: maddys_daddy on May 16, '05 01:13:41PM

I had iPhoto 5.0.2 prior to upgrading to Tiger, and finding photos through Spotlight has worked for me since day 1 of using Tiger.



[ Reply to This | # ]
10.4: A fix to force Spotlight to index iPhoto images
Authored by: seqiro on May 16, '05 02:18:26PM

Yup same here, just tested it and it works fine with no changes needed.



[ Reply to This | # ]
10.4: A fix to force Spotlight to index iPhoto images
Authored by: n8gray on May 17, '05 01:14:02AM

In my experience, searching only worked for photos added (or edited) after upgrading to Tiger. So when I searched for my daughter's name I got 6 hits instead of 550. :-)



[ Reply to This | # ]
10.4: A fix to force Spotlight to index iPhoto images
Authored by: adrianm on May 26, '05 12:32:11PM

So the logical solution is upgrade to Tiger before giving birth.



[ Reply to This | # ]
10.4: A fix to force Spotlight to index iPhoto images
Authored by: kirkmc on May 17, '05 08:50:55AM

Just run this command to force Spotlight to reindex the folder:

mdimport -f ~/Pictures

---
Read my blog: Kirkville -- http://www.mcelhearn.com
Musings, Opinion and Miscellanea, on Macs, iPods and more



[ Reply to This | # ]
10.4: A fix to force Spotlight to index iPhoto images
Authored by: Mucho Grande on May 18, '05 10:28:00AM
I couldn't get any of these hints to help me with this. I had old photos, imported into 10.4, and Spotlight wouldn't find them. I found that removing the comment from a photo, selecting another photo, then coming back to it, would solve this problem. Once this was done, Spotlight would find the photo based on the comment. This could prove tedious with more than 3 photos, so I whipped up an Applescript to do it for me. This is my first crack at it, and I didn't find it as easy as I've been lead to believe, and I've done a little coding in my day. Anyhoo, if it isn't as neat as you would like, I apologise. It helped me out, I hope it helps you out. The time it takes depends on the size of your library. Enjoy.

-- A quick script to make your iPhoto comments searchable
-- in Spotlight.
--
-- All it does, is remove the comments of a file, and then
-- puts it back.
--
--
tell application "iPhoto"
	activate
	
	set edit_photos to (every photo of photo library album)
	repeat with edit_photo in edit_photos
		set photo_comment to comment of edit_photo
		set comment of edit_photo to ""
		set comment of edit_photo to photo_comment
	end repeat
end tell



[ Reply to This | # ]
10.4: A fix to force Spotlight to index iPhoto images
Authored by: adrianm on May 26, '05 01:58:26PM

This worked a treat, thanks.
I'm surprised this wasn't done when first starting up the Mac with Tiger.
Perhaps this was a fix in 10.4.1 that was missing in 10.4.0 ?



[ Reply to This | # ]
Albums feature for iPhoto 5 no longer available when attaching pics to e-mails!!!
Authored by: hotrio on Jun 27, '05 06:33:47PM

I need help!!!! since I installed iPhoto 5, I have not been able to find my albums when trying attach pictures in my Entourage emails. This feature seems to have disappeared. Instead, I can only locate my pictures by the dates that they were taken. But even though, when I upgraded to iPhoto 5, all my pics were placed in incorrect date folders and they are so small that I have no idea of which one to select. For example: pics taken in January were placed inseveral different folders, such as July, August, September, October and November 2005... and these months haven't even happend yet. I liked the system for locating and attaching pics a lot better under iPhoto 4. Yes, I can drag them to the body of the e-mail, but usually the pics are huge and I can not reduce their size. Unless I copy and paste them to a word doc, resize them, copy them and paste them in the body of the e-mail. Any feedback, suggestions, fixes?
Thank you for any suggestions. Luiz



[ Reply to This | # ]