日期:2014-05-17  浏览次数:20424 次

谁用过 kindeditor-4.1.9?有个批图片上传的东东总是上传失败
这是我想做的效果,图片批量上传,我是ASP.NET开发
http://www.kindsoft.net/ke4/examples/multi-image-dialog.html
下面是我的代码,为什么总是上传失败,还要改什么东西吗?囧


<head runat="server">
    <meta charset="utf-8" />
<title>MultiImageDialog Examples</title>
        <link href="kindeditor-4.1.9/themes/default/default.css" rel="stylesheet" type="text/css" />
        <script src="kindeditor-4.1.9/kindeditor.js" type="text/javascript"></script>

        <script src="kindeditor-4.1.9/lang/zh_CN.js" type="text/javascript"></script>
<script>
    KindEditor.ready(function (K) {
        var editor = K.editor({
            allowFileManager: true
        });
        K('#J_selectImage').click(function () {
            editor.loadPlugin('multiimage', function () {
                editor.plugin.multiImageDialog({
                    clickFn: function (urlList) {
                        var div = K('#J_imageView');
                        div.html('');
                        K.each(urlList, function (i, data) {
                            div.append('<img src="' + data.url + '">');
                        });
                        editor.hideDialog();
                    }
                });
            });
        });
    });
</script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <input type="button" id="J_selectImage" value="批量上传" />
    <div id="J_imageView"></div>
        <