1、开发网站过程中fck配置:
1
<appsettings>
2
<add key=”fckeditor:basepath” value=”~/fckeditor/”/>
3
<add key=”fckeditor:userfilespath” value=”/[网站名,如:oschina]/files/”/>
4
</appsettings>
2、发布网站时修改fck配置:
1
<appsettings>
2
<add key=”fckeditor:basepath” value=”~/fckeditor/”/>
3
<add key=”fckeditor:userfilespath” value=”/files/” />
4
</appsettings>
3、当网站发布到iis中后,需要将上传的图片重新传一遍,否则网页上看不到图片
网站结构为:网站名/其它文件及文件夹
/files
/default.x
/web.config
作者:sxq
黄山市民网:https://www.huangshanshimin.com/