Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple file inputs (image) #349

Open
tobiaslindgreen opened this issue Mar 10, 2015 · 4 comments
Open

Multiple file inputs (image) #349

tobiaslindgreen opened this issue Mar 10, 2015 · 4 comments
Assignees

Comments

@tobiaslindgreen
Copy link

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?

@rubenscd
Copy link

or maybe only count total files uploads (?)

@Minstel
Copy link
Collaborator

Minstel commented Feb 21, 2017

@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?

@Jany-M
Copy link

Jany-M commented Feb 24, 2017

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

@jasny
Copy link
Owner

jasny commented Sep 24, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants