开发者 | life.object |
---|---|
更新时间 | 2011年3月11日 03:31 |
PHP版本: | 2.9 及以上 |
WordPress版本: | 3.1 |
chip-get-image
folder to your /wp-contents/plugins
directory.Plugin URI
.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.
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.
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" /> `