One way to keep photos on iCloud only is to have them saved on your computer and then synced back up to iCloud.