We need more details. One library for what software?
With NAS it is easy to provide a central place to store pictures accessed by multiple computers.
I am not sure if iPhoto plays nicely with a remote library that may change between times each computer sees it.
Provide more details on what you are trying to do and people may be able to help.