为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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: