Author Image(s) v2.0

I’d like to announce the official release of the updated Author Image(s) plugin (v2.0) for WordPress.

Display image (if present) and/or name for the author of a post, or for all authors on the blog.

The plugin’s official homepage is located at :
http://coffee2code.com/wp-plugins/category-images.

The release also bring with it full compatibility with WordPress 2.3+ and 2.5.

This update is part of coffee2code’s 14 Days of Plugins (updated plugin #20).

Comments welcome on this post for this version of the plugin. Comments will be closed once this release has been superseded by another.

Read more for a detailed ChangeLog of the release.

Detailed ChangeLog

These are the detailed changes, which may or may not make sense to you depending on your familiarity with the previous features and internals of the plugin.

  • Wrapped into its own class
  • Added admin options page under Options → Author Images (or in WP 2.5: Settings → Author Images). Options are now saved to database, negating need to customize code within the plugin source file.
  • Now looks for user image based on user login name first, then user ID.
  • Changed/removed the arguments to most of the functions. $images_extensions and $images_dir are now plugin options.
  • Used get_author_posts_url() instead of get_author_link()
  • Fixed bug that prevented the custom field override of the author image from working as expected
  • Numerous compatibility updates
  • c2c_the_author_image() now just directly echoes the return value of c2c_get_the_author_image();
  • c2c_the_author_image() and c2c_get_the_author_image() take as optional arguments $before, $after, and $image_dir
  • c2c_wp_list_authors_images() now takes ’show_name’ and ’show_name_if_no_image’ as part of optional arguments array; both are defaulted to the respective values configured via the plugin’s admin
  • Changed description; updated installation instructions
  • Added compatibility note
  • Updated copyright date and version to 2.0
  • Moved into its own subdirectory; added readme.txt
  • Tested compatibility with WP 2.3.3 and 2.5

6 Responses to “Author Image(s) v2.0”

  1. Just an FYI, and probably irrelevant at this point.

    I had Author Image v0.9 installed and using wordpress 2.5. And when i chose to “Automatically Update” using wordpress’ built in plugin update feature, it upgraded Author Image to hide-or-cut-post-text.v1.0.zip

    it was confusing at first because I didn’t catch the switcharoo that happened.

    I’ve manually updated to v2.0 and expect the issue was only due to my setup…

  2. Feature Request: The option to set alignment of author image (left, center, right).

    I’m using your plugin on http://www.movieguild.org (wordpress 2.5, author image v2). There are multiple authors, and I wanted to have their image appear in the upper lefthand of each post they make, with the text wrapped around the image.

    I achieved this by modifying style.css with …

    
    .author_image {
      float: left;
      }
    

    However, when an author does not write enough text to wrap around the image, it causes layout issues, and the posts line up weirdly.

    Thanks for the excellent plugin. :)

  3. Melanie replied on

    This is to stephen - When I upgraded mine (.09 on WP 2.5) it completely deleted the file. But I think that’s more of a WP issue than the author plugin. I just got a laugh cause I was thinking “The options aren’t on the settings page…” went and looked at plugins and it’s gone.

    And to the creator of this plugin, thanks so much!

  4. Melanie replied on

    Ah! I take that back, it did the exact thing stephen said, the hide or cut post text plug in was added to my blog.

  5. I was wondering if I had to place the picture code some where else in order to get it to be on the secondary page. I am using post teaser and when you click on the link to view the entire post, the picture is not there. Any suggestions?

  6. Nevermind, I figured it out. Its in the singe.php file. Great plugin by the way!

Leave a Reply

Please keep these things in mind:
Comments may be moderated.
Don't say obviously spammy words (poker, penis, etc)
Basic HTML allowed: i, b, code
Wrap code examples in code tags.