🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.software.thunderbird
Article #402

Re: How do I stop background image repeating

#402
From: T
Date: Tue, 24 Nov 2026 00:35
115 lines
5750 bytes
On 11/23/26 16:00, Paul wrote:
> On Mon, 11/23/2026 6:27 PM, T wrote:
>> On 11/23/26 09:19, Paul wrote:
>>> On Mon, 11/23/2026 11:05 AM, dillinger wrote:
>>>> On 23/11/2026 05:33, T wrote:
>>>>> Yes, I am having fun with this!
>>>>>
>>>>> When I figure it out, I will post a keeper (How To)!
>>>>
>>>> Really?
>>>>
>>>> Encode your image into base64 here: https://www.base64decode.org/
>>>>
>>>> Copy & paste what you got there: <encoded> into
>>>>
>>>> <body background="data:image/gif;base64,<encoded>">
>>>>
>>>> Use data:image/gif for gif files, data:image/png for png files.
>>>>
>>>> And get a basic html + css course, it really helps to understand what you're copying, no one needs a copy/paste consultant who doesn't know what to copy.
>>>>
>>>
>>> The one warning being, you should also have a hex editor handy.
>>>
>>> The Linux "base64" program, makes limited-width lines and
>>> terminates with 0x0a hex. Whereas the thing you're working on
>>> expects base64 encoding with no 0x0a injected. So those have
>>> to be removed. Depending on what other tool you're using
>>> you would have to carry out a similar check.
>>>
>>> As the image gets bigger, the (one-line) BASE64 gets wider,
>>> and eventually, the editor (whether it is Composer in Seamonkey
>>> or the HTML compose window in TB/BB) can have a max length
>>> for a line and it can interfere with your ability to paste
>>> an extremely long line in there. I used Notepad when I
>>> got stuck like that, and that worked OK.
>>>
>>>      Paul
>>
>> Would you copy and paste your html from your compose window?
> 
> To bypass the limitation, I saved off the thing I was working on
> in Seamonkey at the time, and did my edit to the file outside
> of the normal Composer environment.
> 
> It's possible the limited size of the background image in one
> example, was related to not going overboard on the size of an
> inline image.
> 
> You can save your TB/BB composition to Drafts and have a look at
> it from there. Perhaps you could use Save As to get at it as a
> separate item.
> 
> That's just something I noticed while playing around, which
> may or may not affect you. I was having trouble at first,
> getting my BASE64 addition recognized as being there. But
> eventually I got it to show up.
> 
> That's just one part of the challenge of making a worthwhile
> "multimedia experience" out of the thing. It is definitely
> easy to make something ugly.
> 
> You might start with a mockup as a PDF, just so you
> have a visual reference to work to. That's so you can
> examine the contrast ratio of doing certain things,
> decide whether transparency in something is going to work
> and so on. I would not waste my time working in HTML,
> just to answer questions about "whether my project is
> readable or not". You should use tools you are more comfortable
> with, to assemble something that "looks like what you want to send".
> If that is readable, then continuing with the HTML project
> makes sense. If you did a lot of work, and the item was
> not readable, that would not be particularly good.
> 
> The sample project I was looking at, did two things.
> 
> 1) Background was a tiling type, so it did not matter
>     whether Repeat happened or not. The tile could be tiny,
>     the environment would repeat it to make a uniform
>     background of it.
> 
> 2) Background was light-colored. When the background is
>     present, you can barely see it. It looks like some
>     lightly-toned wallpaper and does not affect the
>     contrast ratio of the text.
> 
> Whereas my sample Sparkle Pony background would be
> no end of trouble. I would need text with a white halo
> around the letters, to make my message readable.
> 
>     Paul
> 


I think I like " HTML Source Editor" better than "ThunderHTMLedit".

Sounds like you are doing way more than just overwriting
a background image.

This html file does work in Firefox, but not betterbird:

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<title>Background Test</title>
</head>
<body style=" background-image:
url('file:///home/temp/confetti2.png'); background-repeat:
no-repeat; background-position: top left; ">
abcdef
</body>
</html>

Technical Details
Message-ID: <11e2m4a$2cor1$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11dvr4p$1cl6b$1@dont-email.me> <11e09k8$1gtvp$1@dont-email.me> <11e0fnn$1iivr$1@dont-email.me> <cr4etm-uij.ln1@spock.lan> <11e1si7$231ph$1@dont-email.me> <11e2i5p$2bfkg$1@dont-email.me> <11e2k3c$2c50h$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: T <T@invalid.invalid>
Newsgroups: alt.comp.software.thunderbird
Subject: Re: How do I stop background image repeating
Date: Mon, 23 Nov 2026 16:35:20 -0800
Organization: A noiseless patient Spider
Lines: 115
Message-ID: <11e2m4a$2cor1$1@dont-email.me>
References: <11dvr4p$1cl6b$1@dont-email.me> <11e09k8$1gtvp$1@dont-email.me>
 <11e0fnn$1iivr$1@dont-email.me> <cr4etm-uij.ln1@spock.lan>
 <11e1si7$231ph$1@dont-email.me> <11e2i5p$2bfkg$1@dont-email.me>
 <11e2k3c$2c50h$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 24 Nov 2026 00:35:24 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2515809"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19Zc3FSNZrfiKP8DN2Zaqlwt2qEMuZUMuU="; posting-host="977d870a9cdd3c201f874d9faa287dc7"
User-Agent: Betterbird (Linux)
Cancel-Lock: sha1:+pZOKmE8hb78vdKLhEZ0DZV038I= sha256:9mJ6J9Mfn1BVDB4aNnaz4B41wyGTPMkQTMJX6eACZaY=
	sha1:XVpeAMh6ydqRmZKefQ3SxEXOaac= sha256:14fO25tBJ7UxC+DoF8hIINkoT8FIAZvf4NfSe6xA/G4=
In-Reply-To: <11e2k3c$2c50h$1@dont-email.me>
Content-Language: en-US