added image orientation to intent