We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

I am not seeing placeholders for missing or corrupt images. Is there an option to turn these on or off, or does Firefox not display these by default?

  • 4 ответа
  • 3 имеют эту проблему
  • 70 просмотров
  • Последний ответ от ajevans

more options

I am a web designer. I use FF as my default browser for everything--including work. When viewing pages containing broken image links or corrupted images, no placeholders show to indicate the problem.

I have to use another browser to check my work. Placeholders are such basic elements that they should appear without having to switch browsers or search for options.

Thinking I may have accidentally unset an option for viewing image placeholders, I have looked everywhere in the options (including Web Dev tools) and have searched support. I have found absolutely nothing to solve my issue.

Firefox--whatever version I had installed prior to a computer reformat and browser reinstall--was doing the same, so please don't suggest a FF reinstall or reset as a possible solution.

I am a web designer. I use FF as my default browser for everything--including work. When viewing pages containing broken image links or corrupted images, no placeholders show to indicate the problem. I have to use another browser to check my work. Placeholders are such basic elements that they should appear without having to switch browsers or search for options. Thinking I may have accidentally unset an option for viewing image placeholders, I have looked everywhere in the options (including Web Dev tools) and have searched support. I have found absolutely nothing to solve my issue. Firefox--whatever version I had installed prior to a computer reformat and browser reinstall--was doing the same, so please don't suggest a FF reinstall or reset as a possible solution.

Выбранное решение

In order to change your Firefox Configuration please do the following steps :

  1. In the Location bar, type about:config and press Enter. The about:config "This might void your warranty!" warning page may appear.
  2. Click I'll be careful, I promise! to continue to the about:config page.
  3. Search for browser.display.show_image_placeholders and make sure it is set to true.

That was a configuration that was from a very early on version of Firefox, so if this does not make a change there is more: What is interesting is that there is also a css that allows the styling of the broken images: https://developer.mozilla.org/en-US/d.../-moz-force-broken-image-icon

This was an inter sting hack for the personal profile in Firefox : http://megashare.altervista.org/blog/.../enable-broken-image-placeholders-in-firefox/

Please post back with your results, thank you!

Прочитайте этот ответ в контексте 👍 0

Все ответы (4)

more options

Выбранное решение

In order to change your Firefox Configuration please do the following steps :

  1. In the Location bar, type about:config and press Enter. The about:config "This might void your warranty!" warning page may appear.
  2. Click I'll be careful, I promise! to continue to the about:config page.
  3. Search for browser.display.show_image_placeholders and make sure it is set to true.

That was a configuration that was from a very early on version of Firefox, so if this does not make a change there is more: What is interesting is that there is also a css that allows the styling of the broken images: https://developer.mozilla.org/en-US/d.../-moz-force-broken-image-icon

This was an inter sting hack for the personal profile in Firefox : http://megashare.altervista.org/blog/.../enable-broken-image-placeholders-in-firefox/

Please post back with your results, thank you!

more options

You normally only see placeholders for images when there are dimensions (width and height) specified in the page code, so Firefox know what space to reserve. If the natural dimensions of the image are to be used and nothing is specified then you won't see the placeholder. This may also depend on the DOCTYPE of the web page.

more options

The DOCTYPE was the simple HTML5 DOCTYPE and the images had dimensions specified, but they were added as parameters to the SRC url to allow for dynamic resizing--which may have been part of the problem.

more options

Thank you, guigs2 and Cor-el.  :)

The about:config value for browser.display.show_image_placeholders was set to 'True,' but the placeholders still weren't showing. This may have been because the images were being dynamically resized and the height and width were set through URL parameters.

I used the first link you provided, guigs2, to create what was essentially a custom default CSS file for FF and it worked enough for my purposes.

Изменено ajevans