From aa0bf59136997d801c4b1170055960808007e993 Mon Sep 17 00:00:00 2001 From: Matthijs Kuiper Date: Fri, 12 Jan 2018 01:36:05 +0100 Subject: Update unknown map image --- html/assets/images/maps/blank_large.jpg | Bin 97957 -> 0 bytes html/assets/images/maps/blank_large.png | Bin 0 -> 61729 bytes html/includes/functions.php | 2 +- html/pages/home.php | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 html/assets/images/maps/blank_large.jpg create mode 100644 html/assets/images/maps/blank_large.png diff --git a/html/assets/images/maps/blank_large.jpg b/html/assets/images/maps/blank_large.jpg deleted file mode 100644 index de22beb..0000000 Binary files a/html/assets/images/maps/blank_large.jpg and /dev/null differ diff --git a/html/assets/images/maps/blank_large.png b/html/assets/images/maps/blank_large.png new file mode 100644 index 0000000..d5da8d8 Binary files /dev/null and b/html/assets/images/maps/blank_large.png differ diff --git a/html/includes/functions.php b/html/includes/functions.php index 99baeae..aaf2635 100755 --- a/html/includes/functions.php +++ b/html/includes/functions.php @@ -605,7 +605,7 @@ function getMapImageName($mapname) { } } - return "assets/images/maps/blank_large.jpg"; + return "assets/images/maps/blank_large.png"; } ?> diff --git a/html/pages/home.php b/html/pages/home.php index d3e0fa0..fc419af 100755 --- a/html/pages/home.php +++ b/html/pages/home.php @@ -16,7 +16,7 @@ $moreThan2Teams = ($lastMapScore2!=0); $mappic = getMapImageName($lastMapFileName); // quick hack to show empty one at front page if no map -if (!file_exists($mappic) || $mappic == "assets/images/maps/blank_large.jpg") { +if (!file_exists($mappic) || $mappic == "assets/images/maps/blank_large.png") { $mappic = "assets/images/maps/emptyfront.jpg"; } -- cgit