From: | Tobias Bussmann <t(dot)bussmann(at)gmx(dot)net> |
---|---|
To: | "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>, pgsql-www(at)lists(dot)postgresql(dot)org |
Subject: | Re: Images in news mails |
Date: | 2025-09-07 16:16:27 |
Message-ID: | 4C210077-20E5-415C-8A69-B82331A42B9A@gmx.net |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
Am 05.09.2025 um 20:23 schrieb Jonathan S. Katz <jkatz(at)postgresql(dot)org>:
> This has plagued me for years, and I'm so happy you tracked this down!
I'm happy to hear, I'm not the only one seeing this. Glad to help!
> The patch looks good; have you tested in a few other mail clients? I haven't had a chance to test yet.
I haven't tried other mail clients myself, but as the style definition is just redundant to the img attributes, I wouldn't expect any regression by this. But HTML emails are full of miracles ;)
Litmus.com has become quite expensive for render previews, so I looked for alternatives. I found Testi.at, which offers some free tests at least. Unfortunately, I was unable to provide the full MIME structure there and thus could not simulate the CID-referenced image that causes the problem in Apple Mail. When I experimented with an externally hosted image, the result looked good in the provided previews. However, I visually identified another issue: Outlook does not seem to support the 'float' style attribute [1 footnote 1]. In the v2 patch, I implemented a workaround to duplicate the 'float' style using an 'align' img attribute. Previews of the resulting rendering can be found at [2].
Best
Tobias
[1]: <https://www.caniemail.com/search/?s=float>
[2]: <https://testi.at/proj/7oveul95szn3cz5as6>
Attachment | Content-Type | Size |
---|---|---|
0001-fix-display-of-images-in-apple-mail-v2.patch | application/octet-stream | 1.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2025-09-08 08:50:46 | Re: Images in news mails |
Previous Message | Magnus Hagander | 2025-09-05 22:05:16 | Re: Upcoming Events on front page |