Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Funkcionalnosć tutoho sydła so přez wothladowanske dźěła wobmjezuje, kotrež maja waše dožiwjenje polěpšić. Jeli nastawk waš problem njerozrisuje a chceće prašenje stajić, wobroćće so na naše zhromodźenstwo pomocy, kotrež na to čaka, wam na @FirefoxSupport na Twitter a /r/firefox na Reddit pomhać.

Pomoc přepytać

Hladajće so wobšudstwa pomocy. Njenamołwimy was ženje, telefonowe čisło zawołać, SMS pósłać abo wosobinske informacije přeradźić. Prošu zdźělće podhladnu aktiwitu z pomocu nastajenja „Znjewužiwanje zdźělić“.

Dalše informacije

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

  • 5 wotmołwy
  • 1 ma tutón problem
  • 1 napohlad
  • Poslednja wotmołwa wot 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?

Wšě wotmołwy (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.

Wot cor-el změnjeny

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