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

Reunite iPhoto libraries with Rendezvous in iPhoto4 Apps
I have read the last couple of hints about merging iPhoto libraries now that iPhoto4 is out and about. However, I wasnt keen on exporting my several libraries to CDs or DVDs and importing, but I too wanted my old albums to be maintained. Luckily, I found another way - through the magic of iPhoto sharing and Rendezvous!

What I did was this:
  1. Created a second user account and enabled fast user switching (lets call him Charlie).
  2. Logged on as my second user Charlie and dug out my backup of the iPhoto Library (if you have not relocated it, its by default in your Pictures folder) and copied it back into my new user account.
  3. Logged back on with my main account (which is admin by the way).
  4. Started up a terminal window (Applications/Utilities) and typed in:
    sudo chown -R charlie:charlie /Users/charlie/Pictures/iPhoto\ Library/
    You will be asked for your admin password, and should get the prompt back in a short time. The line above changes the rights for your iPhoto library so that Charlie now owns it. This presumes your account's short name is charlie, so change this to whatever your secondary account's short name is. This step is important so that iPhoto is allowed to do updates to your images (put them in the new format iPhoto4 uses).
  5. Go into your system preferences and make sure that your firewall is either off, or that port 8770 is open.
  6. Log back in with second account Charlie, fire up iPhoto and wait a bit as the images are converted.
  7. Go into preferences and enable Rendezvous sharing.
  8. Log back into your main account, start up iPhoto (if its not already running) and see Charlie's pictures in the list of albums available.
  9. Click on Charlie's pictures, which should give you a list of all available albums (if you shared them all).
  10. Drag and drop the albums (or images) you want over from Charlie's pictures and place them in your library (the top item in the lefthand list). The arrow will change to the standard add symbol (green cirle with plus sign).
  11. Wait for the import to happen - you will see that the album is recreated in your list once the import is done!.
Repeat the procedure for whatever number of libraries you have... Enjoy!
    •    
  • Currently 1.00 / 5
  You rated: 1 / 5 (3 votes cast)
 
[21,244 views]  

Reunite iPhoto libraries with Rendezvous in iPhoto4 | 10 comments | Create New Account
Click here to return to the 'Reunite iPhoto libraries with Rendezvous in iPhoto4' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
I was hoping someone would find another method
Authored by: jecwobble on Feb 10, '04 11:19:12AM

I have five libraries located on an external drive that my wife and I access through iPhoto Buddy. I'll just create a new empty library on that drive from my logon account, then switch over to my wife's account to serve up the five libraries one at a time. Thank you for this great tip- should save both time and CDs.



[ Reply to This | # ]
Reunite iPhoto libraries with Rendezvous in iPhoto4
Authored by: jeremyrh on Feb 12, '04 03:28:46AM

OK - no doubt this is a dumb question but...
why are you allowed to add Charlie's photos to your library? Ordinarily you can't add someone else's albums to your library even if they've shared them. What's different here?



[ Reply to This | # ]
Reunite iPhoto libraries with Rendezvous in iPhoto4
Authored by: joshX on Feb 12, '04 04:44:22AM

Hi
I've tried this hint, but it did not preserve the picture comments.
Another solution is to create an disk image of the iPhoto Library. I used Toast.
You need to add a file "IPHOTO.XML" in the root of the image.
When you mount the image iPhoto displays the libray an you can add the contents to your library just by DragNDrop.
This is much faster!

ArchivePath: must be the same name as the librarries folder.
ArchiveName: Whatever you want

Content of XML file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ArchiveName</key>
<string>iPhoto Library</string>
<key>ArchivePath</key>
<string>./iPhoto Library</string>
</dict>
</plist>

---
Where I lay my @ there's my home!



[ Reply to This | # ]
Reunite iPhoto libraries with Rendezvous in iPhoto4
Authored by: igor on Nov 28, '04 09:04:14PM
I found it simpler to temporarily move the ~/Photos/iPhoto Library folder into another folder, add the IPHOTO.XML file as described and then make a read-only image. Saves the fuss of copying things twice.

ArchivePath: must be the name of the actual folder.
ArchiveName: This is the name that will show up in iPhoto when you want to bring the photos back in to display them or whatever

Content of XML file:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>ArchiveName</key>  <string>My Vacation Photos</string>
    <key>ArchivePath</key>  <string>./iPhoto Library</string>
</dict>
</plist>


[ Reply to This | # ]
Merging iPhoto Libraries, the easy way
Authored by: jiga on Jun 09, '04 07:36:27AM
Merging iPhoto Libraries, the easy way:

1. Make sure you have enough free space two times the size of your library to merge in on your hard drive.

2. Using DiskUtility (in OS X 10.3), create a disk image large enough to hold your library once. Name the opened volume "iPhoto Library".

3. Using TextEdit, create a file called IPHOTO.XML and place it inside the library. The file should contain this text:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>My imported pictures</key>
<string>iPhoto Library</string>
<key>iPhoto Library</key>
<string>./iPhoto Library</string>
</dict>
</plist>

4. Copy your library to this disk image and name it "iPhoto Libary". If you're done, the folder structure should look like this:

iPhoto Library (Disk image)
 \- IPHOTO.XML (Textfile)
  - iPhoto Library (folder, containg all your iPhoto stuff:)
     \- ThumbJPG.data
      - Thumb32.data
      - Thumb64.data
      - Albums (folder, pretty empty)
      - iPhoto.db
      - AlbumData.xml
      - Dir.data
      - Library.iPhoto
      - 2004 (folder, containing subfolder for each month+day)
         \- 05
             \- 31
                 \- DSCF0001.JPG
                  - ... (many more pictures)
                  - Data (folder, containing files "1.attr" and "1")
                  - Thumbs (folder with Thumbnails)

5. Inside Disk Utility (in OS X 10.3), choose the menu "Images > Convert..." to create a read-only copy of your disk image.

6. Mount that new image and iphoto is happy! drag-and-drop the CD onto your library to import your photos!

(Thanks to http://osi.fotap.org/archives/000376.html)

[ Reply to This | # ]

Merging iPhoto Libraries, the easy way
Authored by: tonyboy on Oct 17, '04 05:08:36PM

For the benefit of anyone else who might want to do this, here are a few notes:

1) You don't need to make a disk image in step 2. Just make a folder called "iPhoto Library". In step 5, use the "New image from folder" command to make a read-only or compressed disk image in a single step.

2) I was only able to get this to work using joshX's XML data. More specifically, in jiga's version, the two keys in the XML data need to be "ArchiveName" and "ArchivePath", respectively.

3) When saving the file in TextEdit, you need to make sure you save it as Plain Text, and not Rich (formatted) text. Use the UTF-8 encoding. If using BBEdit or some other tool, make sure you save as UTF-8.

4) If you need to store or transmit the finished disk image, you might be able to save considerable space by creating a compressed disk image. If you need to protect your data, you can apply encryption to the disk image as well. Don't forget the password!



[ Reply to This | # ]
Merging iPhoto Libraries, the easy way
Authored by: brianboonstra on Oct 22, '04 10:39:32AM

I would not expect much in the way of compression: most people's libraries have all their pictures in already-compressed formats like JPEG, which of course do not compress much further.



[ Reply to This | # ]
Space-Time saving techniques - No need to convert the disk image, just lock it and re-mount
Authored by: VRic on Jun 13, '05 08:27:43AM

iPhoto will consider any read-only volume as an iPhoto CD/DVD if its root level contains an iPhoto library folder and an XML file describing it as explained previously.

So you can save a lot of time and disk space by avoiding unnecessary conversions:

(1) you don't need a read-only image, just a read-only volume. You can mount any volume read-only if you're CLI-savvy, or you can lock the disk image file in the Finder's Info window, which is much easier (you'll need tu unmount/remount the image for the change to take effect)

This will probably skip some disk image and library duplications.

(2) using a normal writable disk image as the master will allow you to test and refine your setup easily (without copying the library again if all you want to change is its name in the XML file for example). Once the image is created, you can edit the XML file, lock/remount the image to test it in iPhoto, then unlock/remount to edit it again, etc.

(3) you won't have to bother what the final size will be if you use a "sparseimage" disk image, which will start small and only grow as needed while copying the library

(4) you can even edit the library itself in iPhoto (to load that library, hold the [Option] key while launching iPhoto: it will ask you to locate a library, select the one on the writable disk image, you can then edit it in place)

(5) you can also easily save space by trashing the "Originals" folders in each roll's folder in case you must reclaim a few MB to let it fit on a CD (iPhoto libraries keep duplicate "originals" of any file you edited: if you're confident you won't need to undo changes, you can remove those from the disk image, the resulting library will work the same).



[ Reply to This | # ]
The definitive summary - the Image Method
Authored by: jfaughnan on Jan 29, '05 09:21:25PM

Based on all the discussion here, and my own testing, here's my article on using the Image Method to merge iPhoto Libraries.

A pox on Apple for making this such a royal pain.

http://www.faughnan.com/digcam.html#LibraryMerge

---
--
John Faughnan
jfaughnan@spamcop.net
www.faughnan.com



[ Reply to This | # ]
The definitive summary - the Image Method
Authored by: jfaughnan on Jan 14, '06 08:47:54PM

I've updated my page to include a much simpler technique Nick N suggested:

http://www.faughnan.com/digcam.html#FakeCD

I have a single 440KB disk image I created. After creating it I never have to touch it again. I rename the libary I want to import, mount the image, and launch iPhoto. The Library shows up in iPhoto as though it were on a CD.

---
--
John Faughnan
jfaughnan@spamcop.net
www.faughnan.com



[ Reply to This | # ]