Rotate attachment images based on their EXIF data