From 4a5bc8888259cd6874499cac50cf4b512f2b2315 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 19 Aug 2021 18:57:00 -0400 Subject: [PATCH] Always set image width to 100%. it should fill it's div and we will set the width of the div. --- web/skins/classic/views/montage.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/skins/classic/views/montage.php b/web/skins/classic/views/montage.php index 7d43eb1b2..3256cfcc8 100644 --- a/web/skins/classic/views/montage.php +++ b/web/skins/classic/views/montage.php @@ -231,8 +231,14 @@ foreach ( $monitors as $monitor ) { > 0) + $monitor_options['width'] = $monitor_options['width'].'px'; + if ($monitor_options['height'] > 0) $monitor_options['height'] = $monitor_options['height']?$monitor_options['height'].'px' : null; + } # end if $monitor_options['connkey'] = $monitor->connKey(); #ZM\Warning('Options: ' . print_r($monitor_options,true));