How do I keep my Photos library on an external drive and still sync it to iCloud?
Moving your Photos library to an external drive and syncing it to iCloud are two separate steps. Quit Photos, drag the library to the external drive (fixing permissions if needed), open it from the new spot, make it the System Photo Library, then turn on Photos in your iCloud settings.