【插件】iThumb - Typecho文章缩略图

插件开发及发布

版主: woniou

回复
逗妇乳
帖子: 112
注册时间: 2013年 12月 24日 11:01

【插件】iThumb - Typecho文章缩略图

帖子 逗妇乳 »

iThumb.png
iThumb.png (4.69 KiB) 查看 11582 次

iThumb - http://blog.iplayloli.com/typecho-plugin-ithumb.html
Typecho文章缩略图(Post Thumbnail)插件
基于SlantedExtend的thumbUrl自定义字段增强增加了图片选择框。图片选择是从当前文章附件列表选取的,目前不支持从上传的所有文件中选取
Usage
插件目录必须为iThumb
前台通过自定义字段获取缩略图链接

代码: 全选

$this->fields->thumbUrl

Thanks
DT27
TimThumb
Plugin License

Download
https://github.com/Char1sma/iThumb
Preview
图片
头像
ClayMore
帖子: 2483
注册时间: 2007年 11月 29日 02:55
来自: Sleeping Forest
联系:

Re: 【插件】iThumb - Typecho文章缩略图

帖子 ClayMore »

类似WP的特色图


__________________

新版阿里百秀Alibaixiu主题 v11.1 For Typecho
http://xiu.160.me/
逗妇乳
帖子: 112
注册时间: 2013年 12月 24日 11:01

Re: 【插件】iThumb - Typecho文章缩略图

帖子 逗妇乳 »

ClayMore 写了:类似WP的特色图

是啊,从wp转过来的,习惯想用但是TE又没有
李小龙
帖子: 13
注册时间: 2015年 8月 28日 20:07

Re: 【插件】iThumb - Typecho文章缩略图

帖子 李小龙 »

不是本身就带略缩图———加载附件,或者说有什么不同吗
逗妇乳
帖子: 112
注册时间: 2013年 12月 24日 11:01

Re: 【插件】iThumb - Typecho文章缩略图

帖子 逗妇乳 »

李小龙 写了:不是本身就带略缩图———加载附件,或者说有什么不同吗

那是另外一个巨型插件highsilde的功能,功能表现形式不一样,那是给每个图片截取缩略图的功能。
李小龙
帖子: 13
注册时间: 2015年 8月 28日 20:07

Re: 【插件】iThumb - Typecho文章缩略图

帖子 李小龙 »

我现在用的是简书变异版怎么使用这个插件
<?php while($this->next()): ?>
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<?php if(!empty($this->options->listStyle) && in_array('thumb',$this->options->listStyle)): ?>
<?php showThumb($this);?>
<?php endif; ?>
<?php $this->fields->thumbUrl; ?>是添加在这段里吗
逗妇乳
帖子: 112
注册时间: 2013年 12月 24日 11:01

Re: 【插件】iThumb - Typecho文章缩略图

帖子 逗妇乳 »

你的主题不是自带自动显示缩略图么?

代码: 全选

<img src="<?php $this->fields->thumbUrl(); ?>" />
李小龙
帖子: 13
注册时间: 2015年 8月 28日 20:07

Re: 【插件】iThumb - Typecho文章缩略图

帖子 李小龙 »

逗妇乳 写了:你的主题不是自带自动显示缩略图么?

代码: 全选

<img src="<?php $this->fields->thumbUrl(); ?>" />

我是想文章中没有图片从附件获取,能在不影响原略缩图的情况加上吗?
头像
DT27
帖子: 83
注册时间: 2016年 2月 23日 19:48
联系:

Re: 【插件】iThumb - Typecho文章缩略图

帖子 DT27 »

赞一个 :lol:
回复