diff --git a/web/includes/Monitor.php b/web/includes/Monitor.php index edaa60a50..dcfe9be70 100644 --- a/web/includes/Monitor.php +++ b/web/includes/Monitor.php @@ -972,6 +972,8 @@ public static function getStatuses() { * Same width height. If both are set we should calculate the smaller resulting scale */ function getStreamHTML($options) { + global $basename; + if (isset($options['scale']) and $options['scale'] != '' and $options['scale'] != 'fixed') { if ($options['scale'] != 'auto' && $options['scale'] != '0') { $options['width'] = reScale($this->ViewWidth(), $options['scale']).'px'; @@ -1021,10 +1023,11 @@ public static function getStatuses() { if ($this->StreamReplayBuffer()) $options['buffer'] = $this->StreamReplayBuffer(); //Warning("width: " . $options['width'] . ' height: ' . $options['height']. ' scale: ' . $options['scale'] ); + $blockRatioControl = ($basename == "montage") ? '
' : ''; $html = '