bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Multiple file inputs (image)

Open tobiaslindgreen opened this issue 9 years ago • 4 comments

I want to add multiple file/image inputs in a form, but when i add one image, all of the other previews shows the first image. Can i make them separate?

tobiaslindgreen avatar Mar 10 '15 12:03 tobiaslindgreen

or maybe only count total files uploads (?)

rubenscd avatar Mar 25 '15 21:03 rubenscd

@tobiaslindgreen Sorry for big wait) I do not see such a behaviour. Image is added to single file input, not to all. If you still experience a problem, can you create an example in jsfiddle?

Minstel avatar Feb 21 '17 18:02 Minstel

I have the same question as @tobiaslindgreen. With <input type="file" name="..." multiple> we can allow for more files to be uploaded, but if only the first image thumb shows, it's still not very useful. How do we show all uploaded previews, with edit/remove button each? @jasny @Minstel

Jany-M avatar Feb 24 '17 00:02 Jany-M

We can show multiple files, just need a nice design.

Removing individual items isn't possible without having to upload via AJAX since you can't modify the value of a <input type="file"> element.

jasny avatar Sep 24 '19 12:09 jasny