Webinterface shows images with wrong orientation

Image rotation is saved in EXIF data and the image viewer should use that to display the image in the right orientation. Most JS image viewers can do that so this should be easy to implement.

I also reported a bug on this here: