Categories
Package/plugin/module WordPress

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 :
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

19 replies on “Author Image(s) v2.0”

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…

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

I’m using your plugin on 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. šŸ™‚

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!

I’ve been toying around with your plugin. I would like to get a list of mugshots of all the people working on my blog. But all I’m getting using c2c_wp_list_authors_images() is a list of names. No pictures.

I changed the image directory, as you specified, but that doesn’t help. Just the same bulleted list I get when calling wp_list_authors.

Any suggestions?

i had to change some codes at line no 385 (inserted a new line there too), in order to make it work at my blog (wp 2.5).

i thought it should work fine but it didnt. a little change helped…:

$customx = $check_custom ? get_post_custom_values(‘author_image’) : ”;
$custom=$customx[0];

Great plugin, I’m using it to show images and links to people that blog for my site. But for some reason, when ever I set it to link the images to the authors site, it doesn’t put in any link. It works fine if I say to link to posts though. I’m using WP 2.5.1 so maybe that’s the issue.

Is there any way to host the author images on a different server, not the one where the WP installation resides. We have multiple WP installations and would like to point all Author Images to one server so that we only have to upload the author photos once, in one location, and feed them to all our WP installations.

Thanks.

I am using this plugin for almost 4 months, and with that time span my authors population became huge, so i am asking if you could modify this plugin to have “Random Author Lists”.

I have 41 authors and i want for example, 10 randomly displayed authors on my sidebar.

Hope to hear from you soon!

Regards,
Eljon.

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?

I’ve had this plugin working fine for a number of months, but when i checked my blog this morning, it was taking forever to load, then timed out.

After disabling and re-activating all my plugins i found it was this one causing the delays.

Any suggestions? Has this been reported before? And is there anything that might be causing this issue?

It’s a great plugin and I don’t want to have to stop using it.

Rory: I have not received a similar report, though the plugin is due for a review and likely some updates. I have plans to get all my plugins that haven’t been updated recently (such as this one) up-to-date within the next few weeks. Stay tuned, and thanks for the feedback!