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…
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?
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…
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
1
vote
1 answer

I have uploaded a .csv file in Shiny.I want to read the column names and use them in selectInput as choices. How do I do it?

I have uploaded a .csv file in Shiny App using fileInput(). I wish to read the column names and show them as options/choices in selectInput(). How do I do it? fileInput("file1", "Choose CSV File", multiple = FALSE, accept…
Raj
  • 21
  • 5
1
vote
1 answer

Krajee Bootstrap File-Input fails to pass uploadExtraData with large files

I have an ajax upload using file-input that works perfectly for even medium sized uploads (ex: 12mb works fine). However, with a large upload (ex: 40mb) it is either not passing the "extra" form data, or the server-side code (classic ASP) is trying…
0
votes
0 answers

Bootstrap File Input - Krajee, Submiting Files through Request

In Bootstrap File Input, I'm trying to submit the files through php/laravel post request. When i select multiple files at once, i get all files in the request. However, when files are selected individually one by one and submited i only get the last…
princeallan
  • 55
  • 1
  • 7
0
votes
0 answers

Modify uploadExtraData before upload in bootstrap-fileinput

I'm using this bootstrap-file-input I'm trying to change the uploadExtraData before uploading multiple files. Here is my code $("#input-id").fileinput({ uploadUrl: '@Url.Action("DAR", "Upload")', allowedFileExtensions: ['jpg', 'png',…
Yuu
  • 619
  • 3
  • 13
  • 34
0
votes
0 answers

Layout of Preview area icons

I don't need preview contents, icons are just fine but I cannot seem to get this control to play nicely where I need it to function inside a Bootstrap Modal Dialog. The Modal is set to use a max-height of 80vh. There are two issues: How can I…
Steve Py
  • 26,149
  • 3
  • 25
  • 43
1
2 3