EXIF orientation test

This is a test of EXIF orientation modes to check how browser and OS implementations work. I took the photo horizontally, with the volume buttons facing up (EXIF orientation mode 3). The photo was then resized by iOS Mail.app with the "Medium" setting. No other edits were made to the photo. You can see the source code on GitHub.

Show all EXIF tags

img tag / normal

<img src="exif.jpg">

img tag / data uri

<img src="data:image/jpeg;base64,/9j/4Q/+R...">

background / normal

<div style="background-image: url('exif.jpg')"></div>

background / data uri

<div style="background-image: url('data:image/jpeg;base64,/9j/4Q/+R...')"></div>

Preliminary findings

Please contact me if you discover a different behavior.