FCK 编辑器。处理图像

发布于 2024-09-08 00:14:24 字数 715 浏览 5 评论 0原文

我在 FCKeditor 中上传图像时遇到两个问题。

我。 上传文件的文件夹是“user”,位于网站的根目录中。 FCKeditor 中上传图片有两种方式: 1. 插入/编辑图像 - 浏览服务器 - 上传此文件夹中的新文件 - 上传。图像上传到文件夹“Image”,该文件夹位于“user”文件夹中。 2. 插入/编辑图像 - 选项卡“上传” - 上传 - 将其发送到服务器。图像上传到文件夹“user”,但使用浏览服务器我看不到它,因为浏览服务器显示文件夹“Image”(以及“user”的其他子文件夹),而不是“user”。 我怎样才能改变它?我想访问图像,这些图像也是使用浏览服务器中的选项卡上传上传的。可能是我的配置有一些错误? 我使用 ASP .NET 连接器、Windows 托管 (IIS 6.0)。 config.ascx 中的配置如下:

    string ex= Request.ApplicationPath;
    if (ex == "/") ex = "";
    // URL path to user files.
    //UserFilesPath = ex+"/user/";
    UserFilesPath = ex + "/";

二. 当我在本地计算机上使用 FCKedtor 时,一切正常。但是,当我使用选项卡“上传”将图像上传到远程服务器时,该组件挂起。图片确实上传到了文件夹,但是FCKeditor每次都会挂起。 插入/编辑图像 - 浏览服务器在远程服务器中工作正常。

I have two problems with image upload in FCKeditor.

I.
The folder for uploaded files is "user" and it situated in the root of the web-site.
There are two ways to upload image in FCKeditor:
1. Insert/Edit Image - Browse Server - Upload a new file in this folder - Upload. Image is uploaded to the folder "Image", which situated in the folder "user".
2. Insert/Edit Image - Tab "Upload" - Upload - Send it to the server. Image is uploaded to the folder "user" and I can not see it, using Browse Server, because Browse Server shows folder "Image" (and other subfolders of "user"), not "user".
How can I change it? I want to have access to images, which was uploaded using Tab Upload in the Browse Server, too. May be, I have some errors in configuration?
I use ASP .NET connector, windows hosting (IIS 6.0).
The configbration in config.ascx is following:

    string ex= Request.ApplicationPath;
    if (ex == "/") ex = "";
    // URL path to user files.
    //UserFilesPath = ex+"/user/";
    UserFilesPath = ex + "/";

II.
When I use FCKedtor in the local computer, everything works fine. But when I upload image to the remote server using Tab "Upload", the component is hanging. Image really is uploaded to the folder, but FCKeditor hangs every time.
Insert/Edit Image - Browse Server works fine in the remote server.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

長街聽風 2024-09-15 00:14:24

我已经解决了第二个问题。您必须修补FCKEditor

I have solve the second problem. You have to patch the FCKEditor.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文