My photos won't transfer from my I phone to my laptop?

Every time I try to transfer my photos from my Iphone 7 to my HP pavilion it says "We're having trouble connecting." I have tried using a different cable, trying to copy and paste the folder, and nothing works. I have done this many times before and I'm not sure why it stopped working.

Have you tried doing it through the Sync and Backup feature in iTunes? If all else fails, you can try that.

Send photos via email (Share) to laptop and then download the photo and move it to Pictures folder.

Try, moving the SD card.