On the "View Image" background
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
On the "View Image" background
Is there a way to simply change it to white? Some GIFs that have no background become very hard to see.
Re: On the "View Image" background
You can change the background colour for viewing images from about:config with this setting:
browser.display.standalone_images.background_color
Use the hexadecimal notation to specify colour.
browser.display.standalone_images.background_color
Use the hexadecimal notation to specify colour.
Re: On the "View Image" background
This doesn't work for me. When I view images alone, the background is still the dark gray, despite me changing the setting to #FFFFFF. Anyone have any idea why?
- LAR Grizzly
- Lunatic
- Posts: 358
- Joined: 2017-08-11, 16:49
- Location: Upstate Ohio, USA
- Contact:
Re: On the "View Image" background
The code below gives images a light grey background. Substitute #FFFFFF in place of #C0C0C0 for white background.MrInitialMan wrote:Is there a way to simply change it to white? Some GIFs that have no background become very hard to see.
https://userstyles.org/styles/58710/fir ... background
Code: Select all
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document regexp("((.*\\.(png|apng|jpg|jpeg|gif|tiff|bmp))|(^data:image\\/.*))(\\?([^#]*))?(#(.*))?") {
html > body {
background-color: #C0C0C0 !important;
}
html > body > img:only-child {
box-shadow: 0px 0px 20px black !important;
}
}
Last edited by LAR Grizzly on 2018-04-20, 00:38, edited 1 time in total.
Win7 Pro SP1 64 Bit
Comodo Internet Security
Pale Moon 33.1.0, Epyrus Mail 2.1.2, Firefox 115.9.1esr, Thunderbird 115.9.0, and SeaMonkey 2.53.18.2
Comodo Internet Security
Pale Moon 33.1.0, Epyrus Mail 2.1.2, Firefox 115.9.1esr, Thunderbird 115.9.0, and SeaMonkey 2.53.18.2
Re: On the "View Image" background
It works for me, and LAR, you do not need that kind of annoying workaround. What Goodydino said is exactly the correct solution.Montclair wrote:This doesn't work for me. When I view images alone, the background is still the dark gray, despite me changing the setting to #FFFFFF. Anyone have any idea why?
If you change this value in about:config, you will have to hit "refresh" (F5) on the displayed image to change the background color to what you've set.
Last edited by Moonchild on 2018-04-20, 13:02, edited 1 time in total.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: On the "View Image" background
Yes, I discovered that it's being overridden by the theme I'm using (PMChrome). When the theme is disabled, the setting works. I've opened a bug report on Github and reported the issue via email to the theme developer.
Re: On the "View Image" background
Until 28.0.0, this setting:
browser.display.standalone_images.background_color;#ffffff
worked as expected. This page is one of my daily visits: http://www.usairnet.com/weather/images/ ... rature.png
Now I only get the default background color.
I don't use any themes or skins, and no other system changes were made.
browser.display.standalone_images.background_color;#ffffff
worked as expected. This page is one of my daily visits: http://www.usairnet.com/weather/images/ ... rature.png
Now I only get the default background color.
I don't use any themes or skins, and no other system changes were made.
Last edited by bravokilo on 2018-08-20, 10:10, edited 1 time in total.
Re: On the "View Image" background
It is a minor regression due to platform changes. We will get around to forward porting it from Tycho.
Last edited by New Tobin Paradigm on 2018-08-20, 10:09, edited 1 time in total.
Re: On the "View Image" background
Beyond a doubt, this is the most useful and helpful Help section ever. God Bless you all.
Re: On the "View Image" background
Last edited by New Tobin Paradigm on 2018-08-20, 11:42, edited 1 time in total.