Jpegs with the orientation set don't preview in the correct rotation. Attached sample.
Viewed in EOG:
Viewed in Loupe: