simple - get an external hard drive formatted Mac OS extended that is directly connected to your Mac with a wired connection (firewire, thunderbolt, USB 2 or 3) and
Moving the iPhoto library is safe and simple - quit iPhoto and drag the iPhoto library intact as a single entity to the external drive - depress the option key and launch iPhoto using the "select library" option to point to the new location on the external drive - fully test it and then trash the old library on the internal drive (test one more time prior to emptying the trash)
And be sure that the External drive is formatted Mac OS extended (journaled) (iPhoto does not work with drives with other formats) and that it is always available prior to launching iPhoto
And backup soon and often - having your iPhoto library on an external drive is not a backup and if you are using Time Machine you need to check and be sure that TM is backing up your external drive
You must not have your iPhoto library on the same volume as your TimeMachine backup - eventually it will quit working since Tm uses all of the available space as it needs it and you have not backup
LN