Solved

modify firefox to show broken images

Posted on 2014-12-16
14
194 Views
Last Modified: 2014-12-19
Is there a preference I can change for firefox to display broken images?  I found a code I can add to my css online (haven't checked it yet). But I would prefer to simply change firefox rather than having to remember to set this in my css.

/* Force Firefox to show image placeholders
----------------------------------------------------------*/
@-moz-document url-prefix(http), url-prefix(file) {
  img:-moz-broken {
    -moz-force-broken-image-icon: 1;
    width: 100px;
    height: 75px;
  }
}
0
Comment
Question by:nsitedesigns
  • 7
  • 4
  • 3
14 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40503075
In the address bar enter
    about:config

and click ok to the warnings

In the search bar enter
    browser.display.show_image_placeholders

and double click the resulting found entry so it shows true
0
 

Author Comment

by:nsitedesigns
ID: 40503092
Cool - I will give this a shot.

Is there also an easy way to view code?
0
 

Author Comment

by:nsitedesigns
ID: 40503097
hmmm, I did what you asked and closed ff.  it still does not display broken images.
0
 
LVL 58

Assisted Solution

by:Gary
Gary earned 500 total points
ID: 40503109
Will double check in case this has changed.

Right click the page and click View Source
0
 
LVL 58

Expert Comment

by:Gary
ID: 40503112
Yep it still works, should see the broken image icon.
0
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 40503342
Under 'about:config', I find this in Firefox 34:  browser.display.show_image_placeholders  But it is already set to true on this computer and on my Mac.  But apparently all that does is put up the name of the missing image.
0
 
LVL 58

Expert Comment

by:Gary
ID: 40503373
put up the name of the missing image
Yeah if it has alt text set, which is normal for any browser, if no alt text then it shows the broken image icon instead of nothing.
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:nsitedesigns
ID: 40507659
still can't get to work.  very busy with deadlines.  will look at in the next couple days.
0
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 40507895
I don't believe at this point that Firefox will display an outline of the image.  It appears it just displays the 'alt text' if the image isn't available.
0
 
LVL 58

Expert Comment

by:Gary
ID: 40507927
still can't get to work
It does work, have a sample page where it's not working?
0
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 40508078
I think she's expecting the rectangle in the size of the image that IE8, Chrome, and Safari put up.  Firefox doesn't appear to do that.
0
 
LVL 58

Expert Comment

by:Gary
ID: 40508089
No, it just shows the broken image icon.
0
 

Author Comment

by:nsitedesigns
ID: 40509361
Shazam - now it is working!  Must have been a cache issue.

Thanks fellas!
0
 
LVL 58

Expert Comment

by:Gary
ID: 40509386
Shouldn't haven't anything to do with cache, as soon as you change it it should be implemented immediately, even on sites already opened.
But at least it is working now.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
spacing 5 31
jQuery CSS Scroll Issue 3 34
Adding Pipe Delimeter  between buttons in css 4 17
CSS grid style change 2 14
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now