get_user_avatar( $_REQUEST["user"] ); $type = $info["avatar_file_type"]; $content = $info["avatar_data"]; header ("Content-type: $type"); echo (string) $content;