Question: how to transfer photos from an iphone to a computer using icloud?
Answer: Make sure both your iPhone and your PC are connected to wifi and are running iCloud.
Next to Photos, click on Options. ... 
Make sure that Download new photos and videos to my PC is selected. ... 
Once you click Done, your iPhone photos and videos will be copied to your computer.