How to get photos from iPhone to computer?

How do I get photos to transfer automatically from my iPhone to my computer whenever I'm in range? Is there a way for this to be done automatically over Wi-Fi or do I have to connect it with a cable to iTunes? I have a desktop Win 7 PC.

You can send them from your email to your own, then login to your email on the computer. Other than that, i don't think there's another way. Facebook messenger would also work this way.

If it is a windows computer you have to use the import photos and videos wizard. It has to be done via a USB cable, or sign up to google drive on both devices, you can then upload them onto google drive from your phone and they will appear on your computer if you use the same google drive login details