nsitedesigns
asked on
modify firefox to show broken images
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-ic on: 1;
width: 100px;
height: 75px;
}
}
/* Force Firefox to show image placeholders
--------------------------
@-moz-document url-prefix(http), url-prefix(file) {
img:-moz-broken {
-moz-force-broken-image-ic
width: 100px;
height: 75px;
}
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hmmm, I did what you asked and closed ff. it still does not display broken images.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yep it still works, should see the broken image icon.
Under 'about:config', I find this in Firefox 34: browser.display.show_image _placehold ers 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.
put up the name of the missing imageYeah 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.
ASKER
still can't get to work. very busy with deadlines. will look at in the next couple days.
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.
still can't get to workIt does work, have a sample page where it's not working?
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.
No, it just shows the broken image icon.
ASKER
Shazam - now it is working! Must have been a cache issue.
Thanks fellas!
Thanks fellas!
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.
But at least it is working now.
ASKER
Is there also an easy way to view code?