list_authors is now wp_list_authors and loops in itself with some arguments you can set.
So here you can't include the image of the 'user photo' plugin (userphoto_the_author_photo).
You have to create a custom loop, a sample query for users you find here:
List user sorted by last name: http://wordpress.org/support/topic/327359
<?php
$lastnames = $wpdb->get_col("SELECT user_id FROM $wpdb->usermeta WHERE $wpdb->usermeta.meta_key = 'last_name' ORDER BY $wpdb->usermeta.meta_value ASC");
foreach ($lastnames as $userid) {
$user = get_userdata($userid);
$post_count = get_usernumposts($user->ID);
$author_posts_url = get_author_posts_url($user->ID);
echo '<li><a href="' . $author_posts_url . '">' . $user->user_firstname . ' ' . $user->user_lastname . '</a> (' . $post_count . ') </li>';
}
?>
try this query first, no image yet
If you get a list of your users (authors), you should try something like
<?php userphoto($user->ID); ?> or
echo userphoto($user->ID);
inside the above loop
code above from: http://wordpress.org/extend/plugins/user-photo/
If you want to display the user's photo in the sidebar, just get the user ID or object and pass it into userphoto() or userphoto_thumbnail()
I would also have to try..
EDIT:
just found another code snippet:
<?php
$authors = $wpdb->get_results("SELECT ID from $wpdb->users " . ($exclude_admin ? "WHERE user_login <> 'admin' " : '') . "ORDER BY display_name");
$author_count = array();
echo "<ul>";
foreach ( (array) $authors as $author ) {
$author = get_userdata( $author->ID );
$posts = (isset($author_count[$author->ID])) ? $author_count[$author->ID] : 0;
$name = $author->display_name;
echo "<li>" . userphoto_thumbnail($author->ID, ' ', ' ', array(style => 'border:0')) . " " . $user->display_name . "</li>";
echo "</ul>";
}
?>
you might just replace userphoto_thumbnail(.. with userphoto(.. in the code given
source: http://www.sitepoint.com/forums/showthread.php?t=588271