iPhoto is only included with the iLife suite of applications, which is included free with new computer purchases (and also available separately for a small price from Apple). If the former owner of the iBook wiped the hard drive and installed OS X fresh from a set of retail CDs/DVDs, then iPhoto will not be there.