我都能上传,但就是不能预览,高手帮忙指点下
上传的图片地址是下面的
~/UserFiles/20051130134616.gif
这个是我的配置文件
<appSettings> <add key="FCKeditor:BasePath" value="~/FCKeditor/"/> <add key="FCKeditor:UserFilesPath" value="~/UserFiles" /></appSettings>

解决方案 »

  1.   

    不能预览?是路径错了吧
    服务器控件才可以这样写 ~/UserFiles/20051130134616.gif
      

  2.   

    <FCKeditorV2:FCKeditor id="FCKeditor1" runat="server"></FCKeditorV2:FCKeditor>我这个是服务器控件啊
    大哥给我指点下把,这个东西搞死我了
      

  3.   

    你那个是服务器控件,你预览图片是什么?只和你预览使用的是什么控件有关系如果是站点你可以这样预览:
    <img src="/UserFiles/20051130134616.gif"/>
      

  4.   

    <add key="FCKeditor:UserFilesPath" value="~/UserFiles" />
    上句的 ~ 要改掉,改成你的虚拟目录名就可以了.呵呵.
      

  5.   

    <add key="FCKeditor:UserFilesPath" value="~/UserFiles" /> ?这个有问题!
    换成:<add key="FCKeditor:UserFilesPath" value="你的项目名称(虚拟目录名称)/UserFiles" /> 看看!