07-01-2013 02:13 PM
Also, if I access Z10 camera files via my PC, it also shows portait photos sideways (and dimensions listed with width > height).
Screenshots taken in portrait work fine. It's just a problem with camera photos it seems.
The same exact code works fine on the PlayBook however, properly showing portrait photos in both img elements and when accessed from a PC.
Known bug? Is there a workaround, or a way for me to detect the intended orientation aside from comparing width and height?
Solved! Go to Solution.
07-02-2013 01:48 PM
The rotation data for images taken with the camera is stored as EXIF data, which requires the "app" (in this case browser/webworks) to read EXIF and rotate it.
This is currently in the works, but take a look at the following article on reading EXIF data, where you can rotate it yourself: