I looked into this a little bit and it seems there's an easy way to fix this (with a simple CSS style), but it is currently only supported in Firefox, so even the next version of the TD, which will use Chromium, won't be able to take advantage of it. But the proper orientation can be detected via scanning the EXIF, and there are some solutions out there, so I'll look into adding it.