Skip to content

Overly large avatar images in email notifications #3529

Description

@edent

Quick summary

There's no size constraint on avatar images in email notifications - which can lead to this:

Comically large avatar pushing content off screen.

Steps to reproduce

  1. Receive a DM
  2. Email generated
  3. Large images like https://fed.brid.gy/static/bridgy_logo_square.jpg overwhelm the display

Site owner impact

Fewer than 20% of the total website/platform users

Severity

Minor

What other impact(s) does this issue have?

No response

If a workaround is available, please outline it here.

Appears to be generated in https://github.com/Automattic/wordpress-activitypub/blob/trunk/templates/emails/new-dm.php

I suggest adding a max-width in https://github.com/Automattic/wordpress-activitypub/blob/trunk/templates/emails/parts/header.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions