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>