coldfusion tinymce图像上传

coldfusion tinymce图像上传,coldfusion,tinymce,Coldfusion,Tinymce,我有一个基本的tinymce编辑器在网站上,我想能够添加任何图像从我的本地驱动器和上传到服务器。我正在使用coldfusion,下面是我当前的代码。此选项只能插入图像url,不能从本地驱动器添加图像。我以前没有使用过插件,所以请任何人告诉我这里可以使用哪些选项。谢谢 <script type="text/javascript" src="/include/tiny_mce/tiny_mce.js"></script> <script type="text/j

我有一个基本的tinymce编辑器在网站上,我想能够添加任何图像从我的本地驱动器和上传到服务器。我正在使用coldfusion,下面是我当前的代码。此选项只能插入图像url,不能从本地驱动器添加图像。我以前没有使用过插件,所以请任何人告诉我这里可以使用哪些选项。谢谢

  <script type="text/javascript" src="/include/tiny_mce/tiny_mce.js"></script>
  <script type="text/javascript">
        tinyMCE.init({ 
            // General options
            selector : "textarea#testone",
            width : 500,
            height: 200,
            theme : "advanced",
            skin : "o2k7",
            // Theme options            
            theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
            theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
            theme_advanced_toolbar_location : "top",
            theme_advanced_toolbar_align : "left",
            theme_advanced_path : false,
            theme_advanced_resizing : true
        });

</script>

tinyMCE.init({
//一般选择
选择器:“textarea#testone”,
宽度:500,
身高:200,
主题:“高级”,
皮肤:“o2k7”,
//主题选项
主题_高级_按钮1:“保存、新建文档、|、粗体、斜体、下划线、删除线、|、左对齐、居中对齐、右对齐、满对齐、|、样式选择、格式选择、字体选择、字体大小选择”,
主题高级按钮2:“剪切、复制、粘贴、粘贴文本、粘贴文字、搜索、替换、布利斯特、numlist、outdent、indent、blockquote、|、撤消、重做、链接、取消链接、锚定、图像、清理、帮助、代码、插入日期、插入时间、预览、前景色、后景色”,
主题\高级\工具栏\位置:“顶部”,
主题\高级\工具栏\对齐:“左”,
主题\u高级\u路径:错误,
主题\u高级\u大小调整:正确
});

阅读了TinyMCE的文档,他们告诉我们不能在FAQ中上传任何图像。请看这个问题。我们有一个名为“插入/编辑图像”的选项,可以在文本内容中插入图像。

大多数编辑器插件都附带了用各种语言进行文件上载处理的代码。寻找要包含的fileManager按钮和fileManager类-它应该有一种为上传的文件配置“处理程序”的方法。您必须编写处理程序或修改示例处理程序(如果提供)。您可以尝试在riaforge.org上查看这些内容。我还没用过,但它看起来很有前途。