Post Avatar 1.2.5

Changes to Post Avatar include:

  • Compatibility with WordPress 2.7
  • Fixed “Cannot modify header information” error when saving posts
  • Theme developer override for automatic avatar display
  • Template tag to return post avatar data in an array

UPDATE: Fixed a couple of bugs with the avatar display: css class was not being properly shown and the image dimensions were mixed up. So please download the plugin again.

New Features

I’ve added a couple of new things for developers who wish to integrate post avatar with custom functions.

For theme developers, you can override the automatic display of post avatars with this template tag:

<?php gkl_dev_override(true); ?>

Place this in your themes’ function.php and now the post avatars will not display unless you use the gkl_postavatar tag or use your own function.

To get an array of each post’s avatar data, use this function:

<?php gkl_get_postavatar(); ?>

The array contains the following information:
avatar_url -> URL to the post avatar
show_image_dim -> 0 to indicate that showing of image dimensions is off, 1 for on.
image_height -> image height
image_width -> image width
post_id -> post ID
post_title -> post title

Download now or visit the plugin page

17 thoughts on “Post Avatar 1.2.5”

  1. The “width” and the “height” is in the html-output swapped!

    normal my img size is = width=”100px” and height=”30px”

    in the version is this output swapped!

  2. I really want to have this plugin work for my site, but so far, no success.

    1. I doubled checked the relative folder location for icons. Correct.
    2. I uploaded 128×128 png format images into wp-content/uploads/icons
    3. handled options under Settings-Post Avatar. (I didn’t see an “Advanced Option”)

    But when I tried to write a post, I can see a Post Avatar bar below “Password Protect This Post”, but when I clicked on it, nothing showed up.

    Tried under both firefox and IE, and I am using WP 2.6.5

  3. @Basti and @Norda. The image dimensions were switched up which I didn’t realize since I use 100×100 images.

    It has been fixed so please re-download the plugin.

  4. Hi,

    I would love to use your excellent plugin, but I always begin my posts with a photo, and that plus an avatar looks quite messy.

    Is it possible to add a simple option to display the avatar below the post , rather than before it? Or is there a way for a relative beginner to do this manually in such a way that it doesn’t have to be redone with each post?

    Thank you.

  5. Hello!

    I’m also getting the message that says “No avatar selected for this post” and I’m checked that the folder path is correct.

    I’d really appreciate your help 🙂

  6. Using, interested to know if POSTAVATAR would in the future include the ability to assign credit to the iconmaker (via mouseover) in the future?

  7. Hi. I’m using Post Avatar on my blog. One thing I’d like to change is that there is a broad black border around my avatar images. I’d like to remove that border totally, but I don’t see any options in the settings. Do I need to hack the code to fix this? I’d appreciate a border setting in a future release of Post Avatar, if you are planning on any future release.

    Thanks for your help,
    James Green

  8. I also tried updating the plugin and it “kinda” worked (I deactivated and deleted the old one and uploaded and activated the new version).
    The plugin is still working and displaying everything correctly in the post.

    However in the “Add New Post” section I can select Avatars over drop-down, but I cannot see a preview. The plugin keeps saying “No Avatar selected”, even though one is selected.

    Also the “prev/next” links don’t work for me.

    Anyway, thanks a lot for this great plug-in. I really love it <3

    PS: I’m using WP 2.7.1

Comments are closed.