Title: Chip Get Image
Author: life.object
Published: <strong>2010 年 12 月 1 日</strong>
Last modified: 2011 年 3 月 10 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/chip-get-image.svg)

# Chip Get Image

 作者：[life.object](https://profiles.wordpress.org/lifeobject/)

[下载](https://downloads.wordpress.org/plugin/chip-get-image.0.3.zip)

 * [详情](https://cn.wordpress.org/plugins/chip-get-image/#description)
 * [评价](https://cn.wordpress.org/plugins/chip-get-image/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/chip-get-image/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/chip-get-image/#developers)

 [支持](https://wordpress.org/support/plugin/chip-get-image/)

## 描述

_Chip Get Image_ is a plugin that grabs images by using its unique _Short Circuit
Speedy Logic_. It is very flexible and easy to use plugin for adding thumbnails,
featured images or other images to the blog posts.

_Short Circuit Speedy Logic_ is highly flexible that gives you power to grab an 
image by your choice from custom field input, WordPress post image feature, post
attachment or from all as default behaviour.

Visit [Chip Get Image](http://www.tutorialchip.com/chip-get-image/) for usage and
more information.

## 安装

 1. Upload `chip-get-image` folder to your `/wp-contents/plugins` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Add the appropriate code to your template files as outlined in the `Plugin URI`.

More detailed instructions are provided in the plugin’s URl. It is important to 
read online article properly to understand all of the options and how the plugin
works.

## 常见问题

  Why was this plugin created?

Many themes require a lot of work when inputting images to make them look good. 
This plugin was developed to make that process much easier for the end user. But,
at the same time, it needed to be flexible enough to handle anything.

  How does it pull images?

 1. Looks for an image by custom field.
 2. If image does not find, check for post image (WordPress 2.9+ feature).
 3. If no image is found again, it will find image attached to the post.
 4. If attempt is not successful, it will add default image to the post. (You must 
    set default image) .

  What is Short Circuit Speedy Logic?

You have noticed that plugin by default will make four steps attempt to find image,
but you can make it speedy by changing the default behavior of Short Circuit Speedy
Logic. It will increase the speed dramatically. For example, When you are very much
sure that image will be found from attachment only, than you can tell the plugin
to find it from attachment first and than for other options, OR attachment only.

  How do I add it to my theme?

There are several methods, but in general, you would use this call:

    ```
    <?php
    if( function_exists( "chip_get_image" ) ):
    $chip_image = chip_get_image();
    ?>
    <a href="<?php echo $chip_image['posturl']; ?>" title="<?php echo $chip_image['alt']; ?>"><img src="<?php echo $chip_image['imageurl']; ?>" alt="<?php echo $chip_image['alt']; ?>" width="150" height="150" /></a>
    <?php
    endif;
    ?>
    ```

## 评价

此插件暂无评价。

## 贡献者及开发者

「Chip Get Image」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ life.object ](https://profiles.wordpress.org/lifeobject/)

[帮助将「Chip Get Image」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/chip-get-image)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/chip-get-image/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/chip-get-image/)，或通过[RSS](https://plugins.trac.wordpress.org/log/chip-get-image/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/chip-get-image/)。

## 更新日志

#### 0.3

 * A PHP Error has been fixed. Error was observed in WordPress 3.1 release.

#### 0.2

 * A PHP Notice has been fixed. Notice was observed when WordPress runs in WP_DEBUG
   true mode.

#### 0.1

Plugin released. I have tested it in different dimensions at my personal blog.

## 额外信息

 *  版本 **0.3**
 *  最后更新：**15 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.9 或更高版本 **
 *  已测试的最高版本为 **3.1.4**
 *  语言
 * [English (US)](https://wordpress.org/plugins/chip-get-image/)
 * 标签
 * [automatic](https://cn.wordpress.org/plugins/tags/automatic/)[featured](https://cn.wordpress.org/plugins/tags/featured/)
   [image](https://cn.wordpress.org/plugins/tags/image/)[post](https://cn.wordpress.org/plugins/tags/post/)
   [posts](https://cn.wordpress.org/plugins/tags/posts/)
 *  [高级视图](https://cn.wordpress.org/plugins/chip-get-image/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/chip-get-image/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/chip-get-image/reviews/)

## 贡献者

 *   [ life.object ](https://profiles.wordpress.org/lifeobject/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/chip-get-image/)