set orientation to cropped image