I think it would be good to have an admin option to replace the default 'shortest route' image with a user's profile picture (where one has been uploaded)

Comments

nodestroy’s picture

actually this is depending on your profile photo. in shortest route module there is a theme function, where the picture is selected

        if (file_exists(variable_get("file_directory_path", "files") .'/pictures/picture-' . $current_user_object->uid . '.jpg')) {
        	$output .= l('<img src="'.file_create_url('pictures/picture-' . $current_user_object->uid . '.jpg').'">', 'user/'.$current_user_object->uid, NULL, NULL, NULL, FALSE, TRUE);
        }
        else {
         	$output .= l(theme_buddy_api_shortestroute_image('default_avatar', t("Default Avatar")), 'user/'.$current_user_object->uid, NULL, NULL, NULL, FALSE, TRUE);
        }

maybe that helps