惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
Microsoft Security Blog
Microsoft Security Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
V
Visual Studio Blog
宝玉的分享
宝玉的分享
IT之家
IT之家
人人都是产品经理
人人都是产品经理
T
The Blog of Author Tim Ferriss
I
InfoQ
B
Blog RSS Feed
T
Threatpost
博客园_首页
M
MIT News - Artificial intelligence
Spread Privacy
Spread Privacy
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Know Your Adversary
Know Your Adversary
U
Unit 42
Engineering at Meta
Engineering at Meta
C
Cyber Attacks, Cyber Crime and Cyber Security
月光博客
月光博客
Scott Helme
Scott Helme
T
Tor Project blog
有赞技术团队
有赞技术团队
AWS News Blog
AWS News Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Last Week in AI
Last Week in AI
S
Schneier on Security
Vercel News
Vercel News
博客园 - Franky
C
Cybersecurity and Infrastructure Security Agency CISA
L
LINUX DO - 热门话题
NISL@THU
NISL@THU
L
LangChain Blog
爱范儿
爱范儿
Google DeepMind News
Google DeepMind News
The GitHub Blog
The GitHub Blog
雷峰网
雷峰网
Latest news
Latest news
C
CXSECURITY Database RSS Feed - CXSecurity.com
Hugging Face - Blog
Hugging Face - Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
G
GRAHAM CLULEY
S
Security Affairs
A
About on SuperTechFans
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
大猫的无限游戏
大猫的无限游戏
W
WeLiveSecurity
Cisco Talos Blog
Cisco Talos Blog
罗磊的独立博客

博客园 - 小孔子

忙于生计,一直没时间上来 小孔子内容管理系统v2.1 Beta1 正式发布小孔子内容管理系统V2.1源码 以前写的一个邮件群发 小孔子内容管理系统V2.1测试 发布小孔子图书管理系统(仿VS拖曳窗口) WinForm给ComboBox增加Value(转) V2.0发现的Bug 小孔子内容管理系统V2.0正式开源发布 小孔子内容管理系统V2.0测试 着手准备小孔子内容管理系统升级,请大家提建议 关于网站被黑 小孔子内容管理系统更新历史 2007.8.6 小孔子内容管理系统第一次更新 文章管理系统v2后台登陆的问题解决办法 感谢Calvin大哥提供测试空间 小孔子内容管理系统相关问题及回答区 小孔子内容管理系统开源发布 向写过采集系统的高手求教
FckEditor采集远程图片插件完美版
小孔子 · 2007-11-12 · via 博客园 - 小孔子

声明:原作者是武眉博<活靶子.NET>(见http://www.cnblogs.com/huobazi/archive/2007/11/02/fckeditorremoteimagerubber.html).
本人只是在此基础上进行了完善.

原有功能:保存远程图片到本地
完善后功能:
    1)使用

FckEditor配置的上传路径,不必手工配置了.
    2)对于本地图片不再提交到服务器验证,节省点时间:).
    3)修正原来有时不能正常采集的bug.
    4)修正原来不能正确替换路径的问题,
      原作者是这样做的imageUrls[_imgIndex].src = localList[_imgIndex]; 经多次测试无效,无奈之下查看fck源码发现了fck使用的方法.
      这样写就没问题了:

imageUrls[_imgIndex].src = localList[_imgIndex];
imageUrls[_imgIndex].setAttribute(
"_fcksavedurl", localList[_imgIndex], 0) ;


使用方法:
    1)把remoteimagerubber.aspx和fckplugin.js复制到fckeditor/editor/plugins/remoteimagerubber/下.
    2)在fckeditor/editor/lang/下找到语言包如zh-cn.js,添加如下语句:

var FCKLang =
{
    RemoteImageRubberBtn:   
"保存远程图片",
}

    3)在fckconfig.js文件的相应位置添加工具按钮'RemoteImageRubber'
    4)在fckconfig.js文件中找到FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ;有它下面添加语句FCKConfig.Plugins.Add( 'remoteimagerubber' ) ;
   
由于我的fckeditor已经集成到系统里了,所以不方便拿出来,只把需要的几个文件提供出来吧

下载
/Files/xkzi/remoteimagerubber.rar