| From: | Magnus Hagander <magnus(at)hagander(dot)net> |
|---|---|
| To: | Tobias Bussmann <t(dot)bussmann(at)gmx(dot)net> |
| Cc: | "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-12-02 21:30:44 |
| Message-ID: | CABUevEz5ApYk+Pqc2NpeTdjV2O1Ck-c2rNZ9Nb6zdjk7B+wfwg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-www |
On Mon, 8 Sept 2025 at 10:50, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>
>
> On Sun, Sep 7, 2025 at 6:16 PM Tobias Bussmann <t(dot)bussmann(at)gmx(dot)net> wrote:
>
>> 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!
>>
>
> What's more amazing is that AFAIK this is the first time *anyone* has
> reported this to be a problem. And it's been this way since 2020...
>
> It is also slightly ironic that it's apple mail that's seeing the problem,
> given it's quite overrepresented in *generating* broken attachments in
> similar ways when you look in the archive :)
>
>
> > 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 ;)
>>
>
> Indeed it does. For example, you mentioned the possibility of embedding
> the image instead of attaching - that *does* break multiple clients, I
> think at least Outlook and maybe also gmail.
>
I have pushed the patch that adds the extra attributes now. Somehow I
thought I had to review a more complex patch and.. Put it off :)
>> 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].
>>
>>
> PGEU does have a subscription to a service that could be used for testing.
> We'd need to adapt the test instance of the website for it, but that's
> fairly easy to do.
>
Been testing one with that. But in that service now *all* our emails are
broken on *all* MUAs, so it's not really working... I've filed a bug with
them, we will see if they can figure it out.
--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Page | 2025-12-03 10:38:26 | Re: Copy script button cleanup |
| Previous Message | Magnus Hagander | 2025-12-02 14:41:07 | Re: Copy script button cleanup |