teInitial: false,
            initialPreviewAsData: true,
            maxFileCount:1,
        });
    });
    $("#fileinput-demo-1").on("fileuploaded", function(event, data, previewId, index) {
        console.log(data.files[0].name);
        console.log(data.response.msg);
        fileName = data.files[0].name;
        url = data.response.msg;
        $("#fileName").val(data.files[0].name);
    });
    // $('#fileinput-demo-1').on('filebatchuploadsuccess', function(event, data, previewId, index) {
    //  