UPDATE! After a little help from the wordpress.org forums, I made some progress with this code:
// Custom Default Avatar
if ( !function_exists('fb_addgravatar') ) {
function fb_addgravatar( $avatar_defaults ) {
$myavatar = get_bloginfo('template_directory') . '/images/avatars/avatar_' . (string) rand(1,5) . '.png';
$avatar_defaults[$myavatar] = 'Users';
return $avatar_defaults; }
add_filter( 'avatar_defaults', 'fb_addgravatar' ); }
Adding that to my functions.php file will allow me to choose my custom avatar "Users" in the Discussions panel, and it WILL show up for commenters who do not have there own Avatar.
However, so far it is using the same image for all commenters.
Ideally, I would like to go to discussions, choose "Users" at the bottom of the Avatar list, and have a random image for each commenter who does not have their own. I'll be using small record covers. So you would see a comment section with say, 5 different record covers mixed in with people who have an actual Avatar.
I had this working 3 or so years ago, but it is not proving so easy this time. Again, all help is GREATLY appreciated.