The image is rotated using its EXIF ββmetadata. The browser tag <img> for some reason does not respect

You can use a tool such as imagemagick to rotate the image correctly . After installing it, run:
convert source.jpg -auto-orient dest.jpg
After some research into this, obviously, a new CSS image-orientation property has appeared that can fix this without changing the image. Unfortunately, only firefox supports this (as of July 2014).
img { image-orientation: from-image; }
Since you are using filepicker.io, you can use your image conversion tools to complete the task. By adding /convert?rotate=exif after the file descriptor, the image is automatically rotated by its exif data.
<img src="https://www.filepicker.io/api/file/KvxFiFSYQj1hGip67E0C/convert?w=320&rotate=exif">
Script result
source share