zs_metaimage.plugin for WordPress

Here is a plugin for the blog-softwareWordPress with which you can add an image to the excerpt view of your postings!
You can see the plugin in action, when you take a look at a category overview on this domain.

Plugin Name: zs_metaimageVersion: 0.3Requirements: WordPress 2.x
(Maybe it also works with WordPress 1.x, but it has not been tested! Please report your experiences!)

Description:
Adds an <img src=$zs_metaimage class=zs_metaimage …> Tag to your post with an href to the permalink of the post. In other words: kind of a headline image linked to the full article.

Installation:
1. Download the zip-file.
2. Unpack and copy the file named “zs_metaimage.php” to your WordPress directory. Put it in the subfolder “/wp-content/plugins/”.
3. Open your admin-panel, go to “Plugins” and enable the “zs_metaimage” plugin.

Usage:
1. Edit your theme, if not already done. The image does show up _only_ if you call the function”the_excerpt()”. By default “the_excerpt()” returns the “optional excerpt” of the post, if exists. If not, it strips down the post to 120 chars, removes all tags and returns the snippet. zs_metaimage adds your metaimage.
2. Edit an existing post or write a new one: Go to the tab “Custum Fields” and type “zs_metaimage” as “Key”.
Type the full URL of an image (best is to copy and paste) in the “Value” filed. Now press “Add Custom Field”. You can update or delete values anytime.
3. Done! Whenever your page is in excerpt-mode, you can see your metaimage!

Feel free to adapt this script to your needs.
Please report behaviors other than expected along with information on where and how!