this is a known issue for some devices.
Probably you have seen, that I'm offering an
Image
Metadata Extension to read the metadata of an image file
If you take a picture in landscape format using my example app, what
will be displayed on your device for image height and image width?
You could use that extension and check, if the width from the image
metadata is identical to the width of the displayed image. If yes,
image is correctly displayed, if no, then rotate the image, see also
https://groups.google.com/d/msg/mitappinventortest/x9Hu0Zvu2Xo/3dXoo7t6DQAJ
The App Inventor Extensions are currently in testing.
See the announcement for more information about how to use an App Inventor Extension.
Taifun