photos are displayed improperly oriented
Photos taken with Nikon P530 camera rotated 90 deg (tall and narrow) are displayed unrotated (short and wide). They display correctly in internet Explorer, Paint, Nikon ViewNX-2 and in HTML editor HomeSite 4. See Paint and FF images. Is there a fix or workaround?
Photos taken with Nikon P530 camera rotated 90 deg (tall and narrow) are displayed unrotated (short and wide). They display correctly in internet Explorer, Paint, Nikon ViewNX-2 and in HTML editor HomeSite 4. See Paint and FF images.
Is there a fix or workaround?
すべての返信 (1)
The second image has this EXIF data:
- Picture Orientation {0x0112} = rotated 270° (8)
Firefox 77+ versions rotate JPG images according to EXIF data by default.
See:
- Bug 1616411 - CSS decorative images should respect EXIF-orientation by default [77]
(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html)
You can add this CSS rule to disable this feature:
- img { image-orientation: none; }
- https://developer.mozilla.org/en/Web/CSS/image-orientation