mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
adding class and WxH attributes to graph images, adding jquery lazyload plugin
This commit is contained in:
@@ -342,7 +342,7 @@ function generate_graph_tag($args)
|
||||
$urlargs[] = $key."=".urlencode($arg);
|
||||
}
|
||||
|
||||
return '<img src="graph.php?' . implode('&',$urlargs).'" border="0" />';
|
||||
return '<img class="lazy" width="'.$urlargs['width'].'" height="'.$urlargs['height'].'" src="graph.php?' . implode('&',$urlargs).'" border="0" />';
|
||||
}
|
||||
|
||||
function generate_graph_js_state($args) {
|
||||
|
Reference in New Issue
Block a user