Hi,
before aligning your photos, you can adjust their orientation using the 'Rotate' option in the 'Photos' pane. After rotating them, if you check the 'Camera Calibration' tab, you'll notice that the resolution's orientation has changed accordingly.
Best Regards
Photo