Photo rotation wrong after taking picture

I take a picture with the camera and show it with the image property of a horizontal arrangement. The image always displays at 90 degrees. Is it possible to rotate it back ? I tried it in a vertical arrangement with the same result.

This is usually caused by the device. Some rotate the image, others do not.

There are several extensions that can rotate the image permanently, or if you want to use the rotate property of the image component to change the image display only.

Where can I get an extension for this ? Some pictures are correct and more not. An extension would need to tell the correct axis.

Try a search in the extensions directory App Inventor Extensions | Pura Vida Apps

Probably this extension can help to rotate the image