Sort:  

Temporary fix, but how long do we have to do it? These things used to work few years ago. But suddenly something changed, and both the internet, and my computer stopped orienting vertical photos upright at the same time.

I think someone borked the imagemagick or jpeg libs at some point in time and hasn't yet caught the bug.

That's possible.

I googled all over, and it seems it's either a problem with the smartphone saving wrong kind of EXIF information, or the image processing libraries that receive the uploaded file.

I am starting to think it might be a broken EXIF problem. But I wonder how it affects almost all mobile phone brands.