Re: Proposal: Make it so when getting an image's dimensions, EXIF orientation is considered

2022-09-26 Thread David Sanders
Actually might as well throw out one idea, feel free to discard: Keep width and height as-is and add 2 additional properties for jpg: `photo_width` and `photo_height` (or named something more suitable) This way it stays inline with other image viewing/editing software which still reports the widt

Re: Proposal: Make it so when getting an image's dimensions, EXIF orientation is considered

2022-09-26 Thread David Sanders
Coincidence I was also just reading up image-orientation… I didn't realise that it's the default behaviour now to orient. I guess it's a question of whether/how to be backwards compatible? On Mon, 26 Sept 2022 at 19:00, 'Adam Johnson' via Django developers (Contributions to Django itself) wrote:

Re: Proposal: Make it so when getting an image's dimensions, EXIF orientation is considered

2022-09-26 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
I’m +1 to making this change. Incorrect orientation is frustrating and this is why browsers changed to always consider it (by default). You're right that the web default is to consider EXIF orientation data, controllable with the image-orientation CSS property: https://developer.mozilla.org/en-US/