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?
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.
Solusi terpilih
In order to change your Firefox Configuration please do the following steps :
- In the Location bar, type about:config and press Enter. The about:config "This might void your warranty!" warning page may appear.
- Click I'll be careful, I promise! to continue to the about:config page.
- 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!
Baca jawaban ini dalam konteks 👍 0Semua Balasan (4)
Solusi Terpilih
In order to change your Firefox Configuration please do the following steps :
- In the Location bar, type about:config and press Enter. The about:config "This might void your warranty!" warning page may appear.
- Click I'll be careful, I promise! to continue to the about:config page.
- 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!
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.
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.
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.
Diperbarui oleh ajevans pada