Multiple error messages for over-sized images

Repro steps (confirmed on here):

  • Copy large image (eg this) - copy the image itself, not a link.
  • Paste into message
  • Get error about size (or 2 errors sometimes)
  • Cancel composer window
  • Reopen it again
  • Paste large image
  • Get 1 more error than last time

This carries on increasing if you do everything in a single tab, gets worse if you try multiple tabs.

7 Likes

Reproduced, but to be clear, the image itself must be copied, i.e., from your local computer, rather than copying & pasting the URL.

1 Like

Yes, indeed. Clarified.

And thanks for spotting the missing category.

Something for you to look at @sam and @zogstrip?

1 Like

Feels related to the upload changes recently made for S3, etc to work well.

Awesome report, will have a look shortly

1 Like

Someone had a pretty bad typo there

https://github.com/discourse/discourse/commit/77c7bad61f54e8be199a3e2af5e6a7a9c0455c1d

6 Likes