==== Post Avatar ==== Contributors: garinungkadol, DMKE Donate link: Tags: post, avatars, images Requires at least: 2.0.11 Tested up to: 2.7 beta 3 Stable tag: trunk Choose an avatar from a pre-defined list to include in a post. == Description == This plugin simplifies including a picture when writing posts by allowing the user to choose from a predefined list of images. The image can be automatically shown on the page or output customized with the use of a template tag in themes. This plugin is similar to Livejournal userpics. Developed with [Dominik Menke](http://WordPress.gaw2006.de). = Features = * Easy selection of images in the Write Post screen. * Scans images in sub-directories of the image option folder. * Allows the following file types: .jpg, .jpeg, .gif and .png. * Settings display avatars automatically or through the use of template tags. * Customize html output of avatars. * Does not display missing images. = Changelog = * Fixed: Incorrect display of css class * Fixed: Bugs in image display (height/width switched up) * Fixed: "Cannot modify header information" errors when saving posts when plugin is used in conjunction with search unleashed plugin * Added: Theme developer override option for automatic avatar display * Added: template tag "gkl_get_postavatar", to return post avatar data in an array. == Installation == 1. Download the plugin. 2. Unzip. 3. Upload "post-avatar" directory to your plugin folder (/wp-content/plugins). 4. Activate the plugin from the Plugin Management screen. 5. Set plugin options in Options - Post Avatar. * **Path to Images Folder** - location of your images folder in relation to your WordPress installation. * **Show image in Write Post Page** - Place a tick mark if you want to see a thumbnail of the post avatar in the Write Post screen. * **Scan the images directory and its sub-directories** - Place a tick mark if you want to list all images including those in sub-directories of the image folder. * **Show avatar in post** - Place a tick mark to show avatar automatically on your blog post. Disable to use the template tag. These options help you further customize the display of your post avatar * **Customize HTML/CSS** - These options help you customize the look of your post avatar 1. **Before and After HTML** - enter the HTML you want to display before and after the post avatar. Example: Before:

If you use both the css class and the before and after html you will get the following output:
