How do I change the Apple ID on iPhoto?
Open App store and click on sign out.

Now sign in with new apple id.

Be aware that the iPhoto belongs to your apple id.

The new apple id will not work with updates to iPhoto without paying for it.