I have to remember where I found the solution.
<span id="INSERTION_MARKER">iPhoto 9.1.1 on a brand new iMac, Lion. Set old G5 (10.5.
as a target in Target Mode and dragged iPhoto Library (which was on iPhoto 4.03) to the Pictures folder of the new iMac. Got message "There is a library there already: Replace?" I chose "Replace". The replaced Library no longer had the special iPhoto sunset icon that the Library it replaced had - just a blank rectangle. The replaced Library is not recognised by iPhoto.<span id="INSERTION_MARKER">
<span id="INSERTION_MARKER">In the iMac: iPhoto, Library Photos and iPhoto, Recent, Last Import show all that stuff that came with Lion (some pics, icons etc.) but no sign of my photos.
<span id="INSERTION_MARKER">
<span id="INSERTION_MARKER">I opened iPhoto Library on the iMac and my photos are there in the usual year folders, with AlbumsData.xml, a Folder "Albums" containing the titles of my albums, Dir.data, iPhoto Selection with the names of some photos (in 2010 only), iPhoto.db, Library.iPhoto (dated 24 July 2911, iMB in size,with the iPhoto sunset icon), Thumbs32.data, Thumbs64.data, ThumbsJPG.data.
<span id="INSERTION_MARKER">
<span id="INSERTION_MARKER">Now, i'm getting "You can't open your current iPhoto library using this version of iPhoto. This library must be upgraded by the iPhoto Library Upgrader application before you can use it with iPhoto. Please reinstall iPhoto from your iLife disc." My backup of the Lion installation (in the form of InstallESD.dmg) does not include an iPhoto package (it includes one for iTunes) nor the iPhoto Library Upgrader.
<span>
<span>I don't see any "iLife Disc" either.
<span id="INSERTION_MARKER">
What can I do please to get my photos? Thanks

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic