From 7ecdbe3d4e84d061289b0ccc8c7faaed1df97f8e Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 12 Jun 2020 14:46:21 +0200 Subject: thumbnail-view.js: Detect automatic image rotation in recent browsers The default value has been changed to `from-image` and at least with Firefox 76 and Chromium 83 this leads to double rotated images. Disabling the automatic rotation with `image-orientation: none` in CSS leads to incorrectly scaled images, (likely, but unverified) because the width/height are returned incorrectly/rotated in jquery/javascript. Whatever it may be, the easier fix is to just check for the new default value and if the browser handles orientation automatically, we disable our own code. https://github.com/w3c/csswg-drafts/issues/3799 Signed-off-by: Florian Pritz --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 05b22512f..dae445a7b 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ This file lists major, incompatible or otherwise important changes, you should look at it after every update. NEXT + - Fix image orientation/rotation when viewing images with the + colorbox/lightbox in Firefox 76/Chromium 83. 3.4.4 2020-04-19 - Log PublicApiException to error log -- cgit v1.2.3-24-g4f1b