this is a weird one. I have an unwrapped cylinder. I have checked the uv map is correctly oriented. I added the texture coordinates and a mapping node.
When I look at it in edit mode, the image shows correctly.
But, when I go to render or look at rendered mode, the image flips 90 degrees to a horizontal position.