# Multiple error messages for over-sized images

**URL:** https://meta.discourse.org/t/multiple-error-messages-for-over-sized-images/29373
**Category:** Bug
**Created:** [5월 28, 2015, 3:27오후 UTC](https://meta.discourse.org/t/multiple-error-messages-for-over-sized-images/29373 "2015-05-28T15:27:58Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![loopback0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/loopback0/32/37486_2.png) [@loopback0](https://meta.discourse.org/u/loopback0)
#### Post date: [5월 28, 2015, 3:27오후 UTC](https://meta.discourse.org/t/multiple-error-messages-for-over-sized-images/29373/1 "2015-05-28T15:27:58Z")

</div>

Repro steps (confirmed on here):

- Copy large image (eg [this](http://upload.wikimedia.org/wikipedia/commons/2/25/06-08_Toyota_Yaris.jpg)) - 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.

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [5월 28, 2015, 3:31오후 UTC](https://meta.discourse.org/t/multiple-error-messages-for-over-sized-images/29373/2 "2015-05-28T15:31:52Z")

</div>

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

---

<div class="post-metadata">

### Author: ![loopback0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/loopback0/32/37486_2.png) [@loopback0](https://meta.discourse.org/u/loopback0)
#### Post date: [5월 28, 2015, 3:55오후 UTC](https://meta.discourse.org/t/multiple-error-messages-for-over-sized-images/29373/3 "2015-05-28T15:55:54Z")

</div>

Yes, indeed. Clarified.

And thanks for spotting the missing category.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [5월 28, 2015, 7:06오후 UTC](https://meta.discourse.org/t/multiple-error-messages-for-over-sized-images/29373/4 "2015-05-28T19:06:52Z")

</div>

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

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [5월 28, 2015, 8:49오후 UTC](https://meta.discourse.org/t/multiple-error-messages-for-over-sized-images/29373/5 "2015-05-28T20:49:00Z")

</div>

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

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [5월 28, 2015, 11:17오후 UTC](https://meta.discourse.org/t/multiple-error-messages-for-over-sized-images/29373/6 "2015-05-28T23:17:14Z")

</div>

Awesome report, will have a look shortly

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [5월 29, 2015, 6:04오전 UTC](https://meta.discourse.org/t/multiple-error-messages-for-over-sized-images/29373/7 "2015-05-29T06:04:11Z")

</div>

Someone had a pretty bad typo there

[https://github.com/discourse/discourse/commit/77c7bad61f54e8be199a3e2af5e6a7a9c0455c1d](https://github.com/discourse/discourse/commit/77c7bad61f54e8be199a3e2af5e6a7a9c0455c1d)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [5월 29, 2015, 6:04오전 UTC](https://meta.discourse.org/t/multiple-error-messages-for-over-sized-images/29373/8 "2015-05-29T06:04:19Z")

</div>


