Linux 软件免费装

Chip Get Image

开发者 life.object
更新时间 2011年3月11日 03:31
PHP版本: 2.9 及以上
WordPress版本: 3.1

标签

post posts image automatic featured images thumbnail

下载

0.1 0.3 0.2

详情介绍:

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 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: ` <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" /> `

更新日志:

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