For photos with EXIF orientation, like a camera-took photo, the width and height is visual width and height. NOT actual width and height.
For photos without EXIF orientation, like a screenshot, the width and height is its visual and actual width and height.
On the server side:
For photos with EXIF orientation, like a camera-took photo, the server will auto rotate the photo, save it, and clear EXIF info.
For photos without EXIF orientation, like a screenshot, the server will clear any EXIF info.
For photos with EXIF orientation, like a camera-took photo, the width and height is visual width and height. NOT actual width and height. For photos without EXIF orientation, like a screenshot, the width and height is its visual and actual width and height. On the server side:
For photos with EXIF orientation, like a camera-took photo, the server will auto rotate the photo, save it, and clear EXIF info. For photos without EXIF orientation, like a screenshot, the server will clear any EXIF info.