rss search

Advanced Post Image Plugin (Mo)

line

Advanced Post Image (Mo) 插件是在 我爱水煮鱼 原插件(Advanced Post Image)的基础上进行修改,可以在Wordpress系统中生成最新日志(数字由用户设定)或者随机日志(数字由用户设定)的第一张图片的缩略图,然后产生一个链回原来日志的列表。原插件地址:这里 支持Wordpress2.3

安装和使用

 下载地址:Advanced Post Image Plugin (Mo)

 1.您可以使用常用的记事本打开本插件,进行必要的修改,修改内容如下:

$thumb_height : 设置缩略图高度
$thumb_width : 设置缩略图宽度
$image_number : 显示多少篇缩略图日志
$search_number : 设置查询
$sql_order : 参数为 1 时,以随机方式调用日志;不为1时调用前N篇日志

 2. 上传 advanced-post-image.php 到 /wp-content/plugins/ 目录下
 3. 在插件菜单下激活插件
 4. 在模板文件中适当的位置插入 < ?php get_post_image_list(); ?> 模板函数
 5. 在 wp-content/uploads/ 目录下创建 thumb 文件夹并将其设置为 777

This is the initial release. Advanced Post Images plugin can generate thumbnails of the first image of latest (number is set by user) posts and link back to the them.

Installation and Usage

1. Upload the advanced-post-image.php to to the /wp-content/plugins/ directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress
3. Place < ?php get_post_image_list(); ?> in your templates
4. create the folder thumb under the directory wp-content/uploads/, and set it to 777

line

随机文章

    转载虫虫
    点击名称阅读作者的其它文章
    即时通讯:
    个人网址:http://www.lxooo.com/author/abstract/
    个人介绍:分享一个苹果,我们各得半个;分享一种思想,我们各得两种。

    有15条留言

    line
    1. RE:coldbo,去看了…不知地你把缩略图放在哪里了!如果是中下部分的那4个图片,感觉没有必要用这个插件。

      line
    2. lanqiufeng

      你好,我在使用插件时,插入到文章列表中的并不是当前文章的图片,这样文章正文也会乱掉。还有就是怎么像您的缩略图一样做缩略?并不是等比例强制压缩而是等高宽的裁剪然后压缩?

      line
    3. 上面那个人肉spam可恨 :我好像来过你的博客了。不过既然来了。给你留点东西吧 (*^__^*) 嘻嘻……

      line
    4. 看起来非常不错啊。受领了啊!

      line

    Trackbacks/Pingbacks

    1. zrea - zrea » Blog Archive » 生成最新或随机日志的图片列表插件:Advanced Post Image Plugin [...] http://www.lxooo.com/advanced-post-image-plugin.html [...]
    2. WP Plugins Database - [...] Visit [...]

    撰写留言