How do I delete photos just from my iPhone not my iCloud Photo Library
Unfortunately, Apple does not provide that information when you are about to delete a picture or albums. It would be nice if Apple would give us a Help option in the photos app that can also be removed if desired. Furthermore, I am not an expert on this subject but I will provide a sensible answer from my research, rather than making a comment that DOES NOT answer the question. But Hey, everybody is entitled to there opinions and comments. 

So here it goes: 

How do you eliminate a photo off your iPhone without eliminating it completely from my iCloud Photo Library and other devices?

You can’t, and it’s a little counter-intuitive as to why. You have to twist your head around to how Apple thinks of cloud storage for media. When you use iCloud Photo Library, the “truth” of your library is in the cloud—that means that the accurate, full, current state of all your images and other media are always stored on Apple’s servers, and the various places you can download or view images (Web, iOS, and OS X) are endpoints. (The only point in which that’s not true is when you have images that remain to be uploaded from an endpoint.)

Thus, if you delete an image in any associated app, you’re telling iCloud Photo Library to remove that image from its “truth,” which means to delete it from the central repository and sync that change to all endpoints. You can choose to only store optimized (low-resolution) media in iOS and OS X, but you can’t delete images in one place and expect them to remain elsewhere. And you can’t maintain separate local albums in Photos that aren’t synced. (In OS X, you can use alternate, non-synced libraries, however, choosing them when you launch Photos. In iOS, you can use alternate photo apps that can have their own libraries, too.)

If you want the ability to delete images from an iPhone or any device without deleting it from all your devices, you have to disable iCloud Photo Library and use another form of sync or another service, like Dropbox, Google Photos, or Amazon Cloud Drive.

https://www.macworld.com/article/3058175/photography/the-problem-with-deleting-photos-from-your-device-with-icloud-photo-library-enabled.html