Sep 26

我的一个老插件,我把功能完善了一下,现在用AJAX方式上传,而且上传前可以预览图片(FireFox基于安全策略不允许上传前查看本地文件,所以在FF上禁用了预览功能;IE7则需要把使用本插件的站点加入信任站点列表,注1),查看图像尺寸和文件大小。

一.先看看效果:

The player will show in this paragraph

图片文件上传成功后直接生成WP-BCastr所需代码。

二.下载和安装:

  1. 下载文章附件的插件安装包;
  2. 解压到硬盘,上传整个multiuploader目录到你的插件目录,通常是/wp-content/plugins/
  3. 在WordPress的插件控制面板激活Multi Image Uploader这个插件就行了。

三.使用:

插件在文章发表界面的QuickTag上面创建了Multi Uploader按钮,点击即可打开上传界面,一看就明白了。

注1:

在Internet Explorer 7菜单栏,点工具---Internet选项
选中安全选项卡,可信任站点,然后把论坛的网址http://你的站点.com/添加为可信任站点;
注意:不要勾选“对该区域的所有站点要求服务器验证”

或者使用reg文件导入注册表:(将以下内容存为previw.reg文件,双击导入;导入注册表有可能导致您的机器产生严重问题,此脚本经过本人测试有效无害,但仍然提醒您导入之前做好备份。;参考文献:Security and Compatibility in Internet Explorer 7

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BLOCK_LMZ_IMG]
"Maxthon.exe"=dword:00000000
"TheWorld.exe"=dword:00000000
"iexplore.exe"=dword:00000000

注意:请所有下载过2.2.6之前版本的FireFox用户重新下载本插件。

English:

1.Download the Multi Image Uploader WordPress Plugin.
2.Extract the files.
3.Upload the 'multiuploader' folder to the /wp-content/plugins/ directory (do not alter the structure).
4.Go into your WordPress Administration, and activate the Multi Image Uploader Plugin;
5. Multi Image Uploader automatic add a quicktag button for you on new post page.
6.Use it,That's all.:)

Sorry for all FireFox users,Please download version 2.2.6 for FireFox work.