Connecting iPhoto to external drive
If you mean an iPhoto library for storing masters/etc, you can create a second library by holding ⌥ when launching iPhoto. You can create a new library and will be prompted for a location to store it.

If the library is unavailable when launching iPhoto, the original library will be used again (or one created if the original library can't be found).