diff --git a/pandora_console/godmode/reporting/visual_console_builder.wizard.php b/pandora_console/godmode/reporting/visual_console_builder.wizard.php index 83c913efdf..24b0c3f9bf 100644 --- a/pandora_console/godmode/reporting/visual_console_builder.wizard.php +++ b/pandora_console/godmode/reporting/visual_console_builder.wizard.php @@ -907,10 +907,15 @@ function findInSelect(selectid, find){ }) } -$('#image').on('change', function(){ +$('#image').on('change', function() { var img = $(this).val(); - $('#image_prev').html(''); -}) + var src = ""+`/images/console/icons/${img}.png`; + if (metaconsole_enabled) { + src = ""+`../../images/console/icons/${img}.png`; + } + + $('#image_prev').html(``); +});