ckfinder

ckfinder+ckeditor配置经验

匿名 (未验证) 提交于 2019-12-02 23:57:01
1,单独使用ckfinder <div> <script type="text/javascript" src="../ckfinder/ckfinder.js"></script> <script type="text/javascript"> function BrowseServer(inputId) { var finder = new CKFinder() ; finder.basePath = '../ckfinder/'; //导入CKFinder的路径 finder.selectActionFunction = SetFileField; //设置文件被选中时的函数 finder.selectActionData = inputId; //接收地址的input ID finder.popup() ; } //文件选中时执行 function SetFileField(fileUrl,data) { document.getElementById(data["selectActionData"]).value = fileUrl ; } </script> <p> <asp:TextBox ID="txtImgPath" runat="server"></asp:TextBox> <input type="button" value=" 浏 览 " onclick=

ckeditor + ckfinder + oss存储

匿名 (未验证) 提交于 2019-12-02 22:11:45
我这里整合后直接使用js代码 CKEDITOR.replace('content', { filebrowserBrowseUrl: '__SYSTEM__/ckfinder/ckfinder.html', filebrowserImageBrowseUrl: '__SYSTEM__/ckfinder/ckfinder.html?type=Images', filebrowserFlashBrowseUrl: '__SYSTEM__/ckfinder/ckfinder.html?type=Flash', filebrowserUploadUrl: "{:U('Public/uploadCkfinder')}",//默认插件自带的上传地址__SYSTEM__/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files', filebrowserImageUploadUrl: "{:U('Public/uploadCkfinder')}",//默认插件自带的上传地址'__SYSTEM__/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images', filebrowserFlashUploadUrl: "{:U(

How to change image save location in CKeditor Drupal 7?

做~自己de王妃 提交于 2019-12-02 19:32:53
问题 I use ckeditor module for my project. In ckfinder folder > config.php, the default image saved folder is ... 'baseUrl' => '/ckfinder/userfiles/', My project folder path is... MAMP > htdocs > drupal > sites > all > themes > bootstrap > images When I upload the image, ckfinder image folder create the location in ... MAMP > htdocs > ckfinder So, the level of drupal theme folder and ckfinder folder is the same.. I don't want to be like this. I want to create the htdocs folder inside the theme

How to change image save location in CKeditor Drupal 7?

醉酒当歌 提交于 2019-12-02 10:38:01
I use ckeditor module for my project. In ckfinder folder > config.php, the default image saved folder is ... 'baseUrl' => '/ckfinder/userfiles/', My project folder path is... MAMP > htdocs > drupal > sites > all > themes > bootstrap > images When I upload the image, ckfinder image folder create the location in ... MAMP > htdocs > ckfinder So, the level of drupal theme folder and ckfinder folder is the same.. I don't want to be like this. I want to create the htdocs folder inside the theme folder. ( drupal > sites > all > themes > bootstrap > images > ckfinder folder ). How can I do this ?

CKFinder. Rename uploaded files

霸气de小男生 提交于 2019-12-02 10:23:31
I am using ASP.NET version of CKFinder. I need to rename all uploaded files to names like: file1.jpg, file2.jpg, fileN.jpg. It would be great to write my own custom logic on the server to manage uploaded files, but ckfinder is standalone dll library that i include to my project. I cant figure out how to change config settings on client side in proper way. Is it possible? Well, i figured out how to solve my problem. When you download CKFinder zip package from official server there is Visual Studio project with source code. We need to find FileUploadCommandHandler.cs class, located in CKFinder

ckfinder image resize

孤人 提交于 2019-12-01 17:36:28
After selecting or uploading an image with the ckfinder, the user can change the width and height. I want it to automatically resize the image to the width and height the user sets. Is that possible? I thaught that the ajax image resizer would fix that but can't get it to work. Somebody has experience with an automatic width and height resize-plugin? In my config file of ckfinder I've got: include_once "plugins/imageresize/plugin.php"; in the config.js I've got: CKFinder.customConfig = function( config ) { config.extraPlugins = 'imageresize'; }; In the past, I've pre-defined an auto resize

ckfinder image resize

不打扰是莪最后的温柔 提交于 2019-12-01 16:55:16
问题 After selecting or uploading an image with the ckfinder, the user can change the width and height. I want it to automatically resize the image to the width and height the user sets. Is that possible? I thaught that the ajax image resizer would fix that but can't get it to work. Somebody has experience with an automatic width and height resize-plugin? In my config file of ckfinder I've got: include_once "plugins/imageresize/plugin.php"; in the config.js I've got: CKFinder.customConfig =

ckfinder php 2.6.2 settings view, display, sorting doesn't working

半城伤御伤魂 提交于 2019-11-29 16:49:56
the example Functions are not working. someone with the same problem? any suggestion? thanks There was an unfortunate bug in CKFinder, which was left unattended. We do our best to provide reliable software, but even such weird bugs in software sometimes happen. Once we found out that the bug exists in the setCookie function we released CKFinder 2.6.2.1 for anyone willing to take this occasion to update CKFinder 2.x to the latest stable version which is free of this bug. Also, considering that the issue was definitely our fault, we fixed all previous packages of CKFinder for ASP/ASP.NET

spring mvc 集成 ckfinder

好久不见. 提交于 2019-11-29 10:14:55
下载ckfinder : http://cksource.com/ckfinder/download 下载下来 war包 放到tomcat 的webapps 下面运行一下,然后拿到ckfinder 文件夹 放到项目中 将tomcat 中 ckfinder下的 WEB-INF中 config.xml 拷贝到项目的WEB-INF 中 说下config.xml 的设置 <enabled>true</enabled><!-- 是否启动CKFinder,默认是false,需要手动改成true --> <baseDir></baseDir><!-- 文件、图片存放的物理路径,会在指定路径下自动创建目录结构。最好不要设置,如果为空会在web应用根目录下创建对应的文件夹,如果设置在与CKEditor整合后根据URL找不到图片--> <baseURL>/ck/userfiles/</baseURL><!-- 上传文件夹的URL配置,注意:需要添加发布的项目名,不添加则无法预览,添加错了则找不到文件 --> <licenseKey></licenseKey> <licenseName></licenseName> <imgWidth>1600</imgWidth> <imgHeight>1200</imgHeight> <imgQuality>80</imgQuality> <uriEncoding

ckfinder+ckeditor配置经验

谁都会走 提交于 2019-11-29 03:22:08
1,单独使用ckfinder <div> <script type="text/javascript" src="../ckfinder/ckfinder.js"></script> <script type="text/javascript"> function BrowseServer(inputId) { var finder = new CKFinder() ; finder.basePath = '../ckfinder/'; //导入CKFinder的路径 finder.selectActionFunction = SetFileField; //设置文件被选中时的函数 finder.selectActionData = inputId; //接收地址的input ID finder.popup() ; } //文件选中时执行 function SetFileField(fileUrl,data) { document.getElementById(data["selectActionData"]).value = fileUrl ; } </script> <p> <asp:TextBox ID="txtImgPath" runat="server"></asp:TextBox> <input type="button" value=" 浏 览 " onclick=