Hey
Not sure if this will help but it depends on the orientation of the phone. I struggled with this as well so I did the following.
You can use a tool called ImageMagick to rotate the image any way you want. I just added a button for the user that says "Rotate" and they can hit the button until they are satisfied. (turns it 90' right every time) . This is not an AwareIM problem but at least this solved my issue. You can probably run a check to calculate the WxH and then automatically rotate it....
See my process code below for reference. Hope it helps
EXPORT DOCUMENT BO.Photo TO FILE 'c:\Conversions\photo.jpg'
EXECUTE PROGRAM 'c:\Conversions\IM\magick.exe c:\Conversions\photo.jpg -rotate 90 c:\Conversions\photo1.jpg'
IMPORT DOCUMENT BO.Photo FROM 'c:\Conversions\photo1.jpg'
DELETE FILE 'c:\Conversions\photo1.jpg'
DELETE FILE 'c:\Conversions\photo.jpg'