diff --git a/LibreNMS/Data/Store/Rrd.php b/LibreNMS/Data/Store/Rrd.php index e2a206fb6d..57dfb52b38 100644 --- a/LibreNMS/Data/Store/Rrd.php +++ b/LibreNMS/Data/Store/Rrd.php @@ -580,7 +580,7 @@ class Rrd extends BaseDatastore } // if valid image is returned with error, extract image and feedback - $image_type = Config::get('webui.graph_type', 'png'); + $image_type = Config::get('webui.graph_type', 'svg'); $search = $this->getImageEnd($image_type); if (($position = strrpos($process->getOutput(), $search)) !== false) { $position += strlen($search); diff --git a/misc/config_definitions.json b/misc/config_definitions.json index 32d33f6df3..ac9d1a66d4 100644 --- a/misc/config_definitions.json +++ b/misc/config_definitions.json @@ -5970,7 +5970,7 @@ "type": "boolean" }, "webui.graph_type": { - "default": "png", + "default": "svg", "group": "webui", "section": "graph", "order": 1,