# Multiple Image Upload

**URL:** https://meta.discourse.org/t/multiple-image-upload/29872
**Category:** Support
**Created:** [June 11, 2015, 12:31am UTC](https://meta.discourse.org/t/multiple-image-upload/29872 "2015-06-11T00:31:24Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![rnovino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rnovino/32/115865_2.png) [@rnovino](https://meta.discourse.org/u/rnovino)
#### Post date: [June 11, 2015, 12:31am UTC](https://meta.discourse.org/t/multiple-image-upload/29872/1 "2015-06-11T00:31:24Z")

</div>

not sure if this is available or I just missed it ? is there a way for multiple image upload? coz when I select images it doesnt select multiple items

---

<div class="post-metadata">

### Author: ![rnovino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rnovino/32/115865_2.png) [@rnovino](https://meta.discourse.org/u/rnovino)
#### Post date: [June 11, 2015, 12:37am UTC](https://meta.discourse.org/t/multiple-image-upload/29872/2 "2015-06-11T00:37:03Z")

</div>

drag and drop feature works multiple uploading but on the image upload button it only accepts 1 image at a time

---

<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: [June 11, 2015, 1:24am UTC](https://meta.discourse.org/t/multiple-image-upload/29872/3 "2015-06-11T01:24:30Z")

</div>

Is multiple select even allowed in the browser upload support? Do we know @zogstrip?

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [June 11, 2015, 1:28am UTC](https://meta.discourse.org/t/multiple-image-upload/29872/4 "2015-06-11T01:28:59Z")

</div>

> [@codinghorror](#):
>
> Is multiple select even allowed in the browser upload support?

Doesn’t seem to be in Firefox anyway.

In Windows explorer I can ctrl-select or shift-select multiple folders / files

In the Discourse upload modal, not so

---

<div class="post-metadata">

### Author: ![rnovino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rnovino/32/115865_2.png) [@rnovino](https://meta.discourse.org/u/rnovino)
#### Post date: [June 11, 2015, 1:46am UTC](https://meta.discourse.org/t/multiple-image-upload/29872/5 "2015-06-11T01:46:03Z")

</div>

yes I mean on the Windows explorer it doesnt let me select multiple images, coz I usually do this on my wordpress platform, and yes in the discourse modal it not available

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [June 11, 2015, 7:04am UTC](https://meta.discourse.org/t/multiple-image-upload/29872/6 "2015-06-11T07:04:44Z")

</div>

I view it as power-user feature only supported for drag & drop.

---

<div class="post-metadata">

### Author: ![johnmuhl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johnmuhl/32/43413_2.png) [@johnmuhl](https://meta.discourse.org/u/johnmuhl)
#### Post date: [June 11, 2015, 2:26pm UTC](https://meta.discourse.org/t/multiple-image-upload/29872/7 "2015-06-11T14:26:55Z")

</div>

I just tried on [http://try.discourse.org](http://try.discourse.org) by adding the `multiple` attribute to the file input element and uploads worked. `img` elements for both were even automatically inserted.

---

<div class="post-metadata">

### Author: ![rnovino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rnovino/32/115865_2.png) [@rnovino](https://meta.discourse.org/u/rnovino)
#### Post date: [June 11, 2015, 2:41pm UTC](https://meta.discourse.org/t/multiple-image-upload/29872/8 "2015-06-11T14:41:49Z")

</div>

nice so it means it just a matter of few tweaks in the code 😄

---

<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: [June 11, 2015, 5:44pm UTC](https://meta.discourse.org/t/multiple-image-upload/29872/9 "2015-06-11T17:44:43Z")

</div>

If this is the case @zogstrip I don’t see much harm in including it…

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [June 11, 2015, 7:22pm UTC](https://meta.discourse.org/t/multiple-image-upload/29872/10 "2015-06-11T19:22:27Z")

</div>

> [@codinghorror](#):
>
> If this is the case @zogstrip I don’t see much harm in including it…

Within sane total weight limits please. I like posting more than 1 image in a post at times, but making it easy to upload infinite could be a problem.

Not so bad if they’re a bunch of smilies, more so if they’re mega weight images

> **[Where have all our smilies gone?](https://www.sitepoint.com/community/t/where-have-all-our-smilies-gone/97457?u=mittineague)**
>
> I’ve noticed a number of folk bewailing the loss of our old, familiar smilies. Well, the good news is, I disliked the new ones so much I’ve made a point of bringing the old ones with me. Hopefully, we’ll eventually find a way to replace the...

---

<div class="post-metadata">

### Author: ![johnmuhl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johnmuhl/32/43413_2.png) [@johnmuhl](https://meta.discourse.org/u/johnmuhl)
#### Post date: [June 11, 2015, 9:55pm UTC](https://meta.discourse.org/t/multiple-image-upload/29872/11 "2015-06-11T21:55:37Z")

</div>

> [@Mittineague](#):
>
> Within sane total weight limits please.

At least on [http://try.discourse.org](http://try.discourse.org) there is already a warning when your files are too big:

> Sorry, the file you are trying to upload is too big (maximum size is 3072kb)

Not sure what happens if you try to upload a ton of tiny images though.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [June 12, 2015, 4:17am UTC](https://meta.discourse.org/t/multiple-image-upload/29872/12 "2015-06-12T04:17:39Z")

</div>

I just found this grepping for “Sorry”

`too_many_dragged_and_dropped_files: "Sorry, you can only drag & drop up to 10 files at a time."`

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [June 12, 2015, 8:00am UTC](https://meta.discourse.org/t/multiple-image-upload/29872/13 "2015-06-12T08:00:38Z")

</div>

Yeah technically you can drag & drop as many files as you want but I’ve hard-coded the limit to 10.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [June 12, 2015, 8:16am UTC](https://meta.discourse.org/t/multiple-image-upload/29872/14 "2015-06-12T08:16:40Z")

</div>

> [@zogstrip](#):
>
> Yeah technically you can drag & drop as many files as you want but I’ve hard-coded the limit to 10.

Considering I just recently saw a topic here where a member posted 28 (relatively large) screen captures in the OP, 10 at a time seems more than fair.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [June 15, 2015, 2:29pm UTC](https://meta.discourse.org/t/multiple-image-upload/29872/15 "2015-06-15T14:29:34Z")

</div>

Ok, it’s now official 🐢

[https://github.com/discourse/discourse/commit/7bc0cbc67240a314653c2cffb5ee60bbd5311539](https://github.com/discourse/discourse/commit/7bc0cbc67240a314653c2cffb5ee60bbd5311539)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [June 15, 2015, 2:29pm UTC](https://meta.discourse.org/t/multiple-image-upload/29872/16 "2015-06-15T14:29:40Z")

</div>


