Iphone problem and Itunes

I installed a copy of itunes on my computer because i had to format it and it doesn't even recognize the iphone and an iphone all i get is a windows message asking to view the pictures. What can i do to get this to work i tried this on a vista and a xp computer.
Never hurt,but you d/l the version 8.1 ?
iPhone not recognized in iTunes for Windows

Original thread: https://forums.imore.com/threads/iphone-problem-and-itunes.170398/