问题:
我用FCKeditor的快速上传把图片上传到UserFiles文件夹下,可是用图片属性里面的浏览服务器确看不到图片,那个浏览服务器浏览的是 UserFiles/Image文件夹下面的图片,而我快速上传的路径是UserFiles文件夹下,我把上传路径改为UserFiles/Image, 可是那个浏览服务器的路径自动变为UserFiles/Image/Image,始终和我上传的路径不一致,请问怎样设置能够让浏览服务器的路径指向 UserFiles文件夹下面,而不是指向Image下面?
解决办法:
修改了/fckedior/editor/filemanager/connectors/aspx/config.ascx文件的快速上传路径为%UserFileAbsolutPath%image/
修改代码如下:
TypeConfig[ "Image" ].AllowedExtensions = new string[] { "bmp", "gif", "jpeg", "jpg", "png" }; TypeConfig[ "Image" ].DeniedExtensions = new string[] { }; TypeConfig[ "Image" ].FilesPath = "%UserFilesPath%image/"; TypeConfig[ "Image" ].FilesAbsolutePath = ( UserFilesAbsolutePath == "" ? "" : "%UserFilesAbsolutePath%image/" ); TypeConfig["Image"].QuickUploadPath = "%UserFilesPath%image/"; TypeConfig["Image"].QuickUploadAbsolutePath = (UserFilesAbsolutePath == "" ? "" : "%UserFilesAbsolutePath%image/");
上传文件或者flash其他类型的类似