Hi,
In the experience builder based template the image gets rotated (probably reads the metadata)
However in the Attachment viewer template the metadata is skipped.
The image below has the web app in the background and the AppStudio App in the foreground.

Happy bug hunting,
Rob