I have a problem with picture rotation uploaded to server via mobile browser.
On my Samsung Galaxy S7 and Samsung Galaxy A10 all pictures taken vertically have wrong width and height - 4032 x 3024 but orientation is 90 degrees, so I guess that's why android is able to display this it correctly.
On the other hand all screenshots have size 1080 x 1920.
The standard way is the first size is width and second size is height.
width x height 4032 x 3024 - vertical picture with orientation 90 degrees (picture details) 4032 x 3024 - horizontal picture with orientation 0 degrees (picture details) 1080 x 1920 - screenshot - lack of orientation in details of picture
Is is android bug? And how to fix it?
How to display the picture uploaded with correct rotation?
I made second test, I sent picture over mail to xiaomi smartphone, I uploaded this picture taken with Samsung S7 and the problem is the same, uploaded picture have wrong rotation.
Picture 1 - 4032 x 3024 - vertical picture with orientation 90 degrees (picture details):
Picture 2 - 4032 x 3024 - horizontal picture with orientation 0 degrees (picture details)
Picture 3 - Normal screenshot - it is uploaded in correct way with correct orientation (vertical):