Where are my photos going?

I've enabled the icloud photo library on my iPhone but now the pictures I am taking are disappearing after a few days? I only have this weeks pictures on my phone! They are on the icloud.com site but why are they leaving my phone!? I would like to keep them!
I don't know why that is because all of my photos are present and accounted for. Try logging out of iCloud on your device and then signing back in.

Original thread: https://forums.imore.com/threads/where-are-my-photos-going.319081/