diff --git a/functions.php b/functions.php index c70bdcc89..f2800552f 100644 --- a/functions.php +++ b/functions.php @@ -5647,10 +5647,14 @@ } function get_score_pic($score) { - if ($score > 0) { + if ($score > 100) { return "score_high.png"; - } else if ($score < 0) { + } else if ($score > 0) { + return "score_half_high.png"; + } else if ($score < -100) { return "score_low.png"; + } else if ($score < 0) { + return "score_half_low.png"; } else { return "score_neutral.png"; } diff --git a/images/score_half_high.png b/images/score_half_high.png new file mode 100644 index 000000000..0bac7b864 Binary files /dev/null and b/images/score_half_high.png differ diff --git a/images/score_half_low.png b/images/score_half_low.png new file mode 100644 index 000000000..c88198d44 Binary files /dev/null and b/images/score_half_low.png differ diff --git a/images/score_neutral.png b/images/score_neutral.png index b4cd7e231..40e212736 100644 Binary files a/images/score_neutral.png and b/images/score_neutral.png differ