【原创】wordpress图片水印插件image super tools
介绍】} [5LZ ~WG-c1.本插件能够实现wordpress上传图片自动增加水印H`ea6}X*c
2.可以添加图片水印和文字水印两种类型P'Z_'VL0i-]
3.可以对已经存在的图片进行批处理添加水印1FF1j%^/m5C W/[ sxI#E_
4.可以对文章内容中的外部引用图片自动下载并添加水印;Qg2X;i(Vo i
【简单安装】
注解:本安装只能实现博客内容中包括的图片添加水印,即只有博客内容中的<img src=”">标签引用的图片才会被添加水印,如果你上传了图片但是博客中使用了缩略图,那么只有缩略图添加水印!$cCeF NRlNf!x
[color=#ff0000]1. [/color]激活插件。 h?he9Y;[:X
[color=#ff0000]2.[/color] 在setting->ImageSuperTools->ContentImageDown菜单下的两个设置均设置为Yes。
【高级安装】 sX4Z7yv#P n8G
注解:按照本方法安装能够实现上传图片源文件和缩略图均添加水印。y?6SaANu K
[color=#ff0000]1. [/color]打开/wordpress/wp-admin/includes/media.php查找(大约第108行) 引用:[indent][quote]// Save the data
$id = wp_insert_attachment($attachment, $file, $post_parent);[/quote][/indent],W.S4wlR9])L|o a"fgv
在这段代码上面添加如下代码: 引用:[indent][quote]// INSERT HERE!!!
if (function_exists("IM_mark"))
{
IM_mark($file,$op="overwrite");
}[/quote][/indent]^VI lg#xF8{_M
[url=http://www.pkphp.com/wp-content/uploads/2008/06/step1.png][img=500,266]http://www.pkphp.com/wp-content/uploads/2008/06/step1.png[/img][/url]sR(kw0qj
[color=#ff0000]2.[/color] 如果你要在你上传的图片缩略图和中型图片添加水印请进行如下操作,要求版本Wordpress v2.5.1:/[y8O6uk
打开/wordpress/wp-includes/media.php查找如下代码(大约第230行) 引用:[indent][quote]imagedestroy( $newimage );[/quote][/indent]
在这段代码上面添加如下代码 引用:[indent][quote]// INSERT HERE!!!
if (function_exists("IM_mark"))~h8V4_%\2c2Cj[
{
IM_mark($destfilename,$op="overwrite"); K6teA-S ruL
}[/quote][/indent]7sytEXX
[url=http://www.pkphp.com/wp-content/uploads/2008/06/step2.png][img=500,200]http://www.pkphp.com/wp-content/uploads/2008/06/step2.png[/img][/url] x gGpd s@
【详细功能介绍】7t;sZ v-[V Uk
1.本插件可以手动对已存在的图片添加水印操作
2.本插件具有图片备份功能,即在图片添加前对图片进行备份,可以随时恢复到没有添加水印前的状态\wob$P|Rm
3.添加了具有在线管理图片的功能,能够批量删除已经存在的图片
4.文字水印和图片水印可以进行位置精确操作 J$Z+v-s }*S
下载:[url=http://ashorturl.googlecode.com/files/imagesupertools_V1.0_full.zip][color=#0000ff]wordpress plugin ImageSuperTools[/color][/url] 不错啊 !s,smg9k
学习下 谢谢分享啊 [url=http://www.windows7en.cn/seo/3986.html]不[/url][url=http://www.windows7en.cn/seo/3985.html]错[/url][url=http://www.windows7en.cn/seo/3984.html],[/url][url=http://www.windows7en.cn/seo/3983.html]不[/url][url=http://www.windows7en.cn/seo/3982.html]过[/url][url=http://www.windows7en.cn/seo/3981.html]我用的是[/url][url=http://www.windows7en.cn]ZBLOG[/url] 谢谢分享啊,呵呵
页:
[1]

