Correct image orientation for images - Chrome 81

Looks like one of the oldest bugs in Chromium has been fixed. Chrome used to display images in landscape orientation even if they were taken in portrait on a phone.

Now it appears that in Chrome 81 we will respect the image orientation from the files EXIF data and display the image in that orientation by default unless you override it with a CSS attribute image-orientation: none.

Fun times.

Demo

Paul Kinlan

Trying to make the web and developers better.

RSS Github Medium

Likes

Maria Sweet Joni Celia Flores 🇲🇽 🇬🇧 David Frahm Vassilis Krikonis Gender Neutral Mason Eric George Salib® Jarek Radosz nicky patto 1 Jason Cartwright Chris Calo Eric Lawrence 🎻 Manuel Strehl Santosh Yadav Andy Davies Andrea Leardini Chris Banes swhittaker Roman Yavoriv Zafer S. Wiktor Olejniczak Tom Bonnike rong-sen Mohamed Jbeli Harsh Shah Sakina Groth jameschurchman ezzatron George Salib® Jouni Männistö DYLAN FORDE Bas van der Veeken Ahmad Saleem kukunayida Rijubrata Bhaumik Joel Limberg Saurabh Rajpal #WeAreWebinions Alex Russell Manon &c. Brian who survived a powerline Dmitry Pokidov Nicholas Jamieson Jori Lallo Nick Freeman Look at banner, Dave! Paviel Łaŭcevič Kyle Pflug johnozbay James KΞNNΞTH C. ⚡ Brandon Jones Orlando Ferrer Benjamin Walsh H!GGY Yajus Yatra Maximo Cozetti filipe.replace('lipe', 'guarnieri') James George Shaun McCann Roderick Hsiao Filip Chalupa zdtxyz Jorge Arboleya Rob Becker Kai Fọlájọmí Building 🛠️ w/ GatsbyJS Neel Kirit Technicalities Santosh Yadav Tong Mu Mickaël Isaert Annie Sullivan Paul Irish

Reposts

Comandeer Georges Haidar Sakina Groth George Salib® Saurabh Rajpal #WeAreWebinions Alex Russell Manon &c. Brian who survived a powerline jameschurchman Jorge Barrachina HJ Chen araya Jake Archibald mryap Neha Sharma ユエ Oliver Ash Mike Ruud Steltenp∞l 🤔🔗📊,💾🌳,🚲🌍… Chrome Developers Experimental Web \助けよや/ Zephyr Mathias Henri Helvetica📍✨👩🏾‍🚀✨ YYZ Thierry Bela kwinto

Comments and Replies

Paul KinlanPaul Kinlan
that would have already happened for iOS and firefox.
Jacob Paris 🇨🇦Jacob Paris 🇨🇦
and every site that uses JS workaround to rotate the image based on its exif data will now be double rotating
AwaisAwais
This is a good step indeed but will rotate a lot of images with wrong exif data.
Adam ArgyleAdam Argyle
😘 twitter.com/argyleink/stat…
Ingo SteinkeIngo Steinke
This "feature" sounds like trouble, breaking backwards compatibility.