always get the good image orientation