Warning: Some modern browsers automatically rotate images based on their exif. They're changing default value of the css property
<img> elements and
background-image. However they can also pass rotated photo to
ctx.drawImage(). Though this behavior is quirky and differs from browser to browser, especially in Safari on iOs 13.4 and newer.
exifr.rotation() if you want to manipulate the image and avoid afore mentioned problems.
canvas property is
true, you need to rotate the image yourself in
css property is
true, you need to rotate the image yourself with CSS using