搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

photos are displayed improperly oriented

  • 1 回覆
  • 1 有這個問題
  • 18 次檢視
  • 最近回覆由 cor-el

more options

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)

more options

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: