Questions tagged [bootstrap-file-input]
36 questions
3
votes
1 answer
Bootstrap FileInput Fill Input Value in Initial Preview
I am using Krajee Bootstrap File Input. The Problem is that in my Edit Page I want to display the initialPreview of a PDF file from a record, but when I submit the form for update, the file input sends null value.
Here's my code:
Form --

BJ Langruto
- 77
- 2
- 7
2
votes
1 answer
Error code 400 when uploading files using bootstrap fileinput plugin
I have an issue where seemingly no matter what I do, no matter how many files, no matter if I remove the extraData option and no matter if I use parameters in the controller action the action is never reached (my breakpoint never triggers).
HTML…

AlexG
- 23
- 4
2
votes
0 answers
How to add an independent button to upload selected files on bootstrap file input
Bootstrap file input provides default uploading button
But I want an independent button to upload the selected files
Any idea how I can fix it without getting too complicated?

Tijo Titus
- 143
- 1
- 8
2
votes
1 answer
Bootstrap input file event removing data
I'm using Bootstrap FileInput and it is really cool :)
I've got a problem with some events. I want to know how could I detect when I press on "Remove" button after submitting a file. Here is a pic of what I mean:
I've used "fileremoved",…

Ommadawn
- 2,450
- 3
- 24
- 48
2
votes
2 answers
Bootstrap File Input - How to hide the drag button in initial preview?
I am using the Bootstrap File Input plugin for managing user avatars: http://plugins.krajee.com/file-input/
I am initializing the plugin using this JS code:
$("#contact_photo").fileinput({
showCaption: false, // The "1 file…

Babken Vardanyan
- 14,090
- 13
- 68
- 87
1
vote
1 answer
Make bootstrap file input really small
I'll like to use the fil input from bootstrap with the drag and drop area but and image preview but I do not it really small about 100px height and 150px width... I cannot find the way to do it...
It goes inside a div table with a lot of rows, and…

Peter Czask
- 63
- 8
1
vote
1 answer
Bootstrap file input does not show the image name which is browsed
I'm using Admin LTE theme and I have added this input for uploading image:
1
vote
0 answers
How can I get Base64 String from file choosen with Bootstrap File-Input and submit the string with AJAX?
I am using Bootstrap File-Input to pick a file on client side, and now need to get a Base64 string from this file and submit it using AJAX (It is required that the page should not reload, and that callback should be shown in File-Input window).
I…

Stig Kølbæk
- 432
- 2
- 18
1
vote
0 answers
How can I validate a filename after selecting it?
I am using bootstrap file input from here:
https://github.com/kartik-v/bootstrap-fileinput
and I am trying to validate a filename after selecting a file.
I tried this:
$("#mytest").fileinput({
uploadUrl: "./upload.php",
uploadAsync: true, …

lorife
- 371
- 1
- 12
1
vote
1 answer
I have a list of inputs type file and it accept image only .. How can i view an image when i add one?
i wrote this code and its working but when i choose image all inputs view the same image not only the one i added the image to ..
Change image on select new image from file input