Avatars On Different Blogs

I'm using the avatars plugin and want to know if it possible for the user ID to change to the ID of the blog owner, so their avatar shows.

<?php echo get_avatar('user_id','50','mystery'); ?>

So basically when I view someone's blog on my server their avatar shows up and the same happens when I visit another blog on my server.

Thanks.