The images should rotate respecting their EXIF orientation because image-orientation: from-image is specified.

Normal
Flipped horizontally
Rotated 180°
Flipped vertically
Rotated 90° CCW and flipped vertically
Rotated 90° CW
Rotated 90° CW and flipped vertically
Rotated 90° CCW
Rotated 90° CCW and flipped vertically
Rotated 90° CW
Rotated 90° CW and flipped vertically
Rotated 90° CCW
Undefined (invalid value)