搜索 | 用户支持

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

详细了解

How to set firefox to center a full-size image where I click

  • 5 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

Until recently, if I opened an image in a Firefox tab, and then clicked on it to zoom in to actual size, Firefox would center the image where I clicked. That is, it would position the image such that the point I clicked on would be in the center of the screen, and I could then scroll up-down or left-right from there. At some point, this changed. Now, when I click to view a full-size image, it positions it so that I'm zoomed in on the upper-left corner of the image.

Is this some default behavior that changed in a recent update? Is there a setting I could set to make it go back to the way it used to be?

Until recently, if I opened an image in a Firefox tab, and then clicked on it to zoom in to actual size, Firefox would center the image where I clicked. That is, it would position the image such that the point I clicked on would be in the center of the screen, and I could then scroll up-down or left-right from there. At some point, this changed. Now, when I click to view a full-size image, it positions it so that I'm zoomed in on the upper-left corner of the image. Is this some default behavior that changed in a recent update? Is there a setting I could set to make it go back to the way it used to be?

所有回复 (5)

more options
  • Type about:config into the address bar,
  • Type browser.enable_automatic_image_resizing in the Filter bar and hit enter,
  • double click it and the value should change to false.
more options

For me it centers where I click in the current Firefox release, so try to click in the center position to see if that works. If I click top left then the image center in that position.

This means that you can center the image with a double-click in any position.

由cor-el于修改

more options

FFus3r said

  • Type about:config into the address bar,
  • Type browser.enable_automatic_image_resizing in the Filter bar and hit enter,
  • double click it and the value should change to false.

That had no effect.

more options

On Windows 7, Firefox 62 seems to center the clicked point within the tab's content area as best it can, considering where the point is in the image and its dimensions. I don't know whether add-ons or custom style rules could affect it.

more options

If the image isn't centered in the position you click then an extension might be interfering.

Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is is causing the problem.

  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Appearance
  • do NOT click the "Refresh Firefox" button on the Safe Mode start window