diff --git a/web/skins/classic/views/console.php b/web/skins/classic/views/console.php index 0a8ce2905..20be7eeeb 100644 --- a/web/skins/classic/views/console.php +++ b/web/skins/classic/views/console.php @@ -286,10 +286,10 @@ for( $monitor_i = 0; $monitor_i < count($displayMonitors); $monitor_i += 1 ) { $imgHTML=''; if ( ZM_WEB_LIST_THUMBS && ($monitor['Status'] == 'Connected') && $running ) { $options = array(); - $ratio_factor = $Monitor->Height() / $Monitor->Width(); + $ratio_factor = $Monitor->ViewHeight() / $Monitor->ViewWidth(); $options['width'] = ZM_WEB_LIST_THUMB_WIDTH; $options['height'] = ZM_WEB_LIST_THUMB_HEIGHT ? ZM_WEB_LIST_THUMB_HEIGHT : ZM_WEB_LIST_THUMB_WIDTH*$ratio_factor; - $options['scale'] = intval(100*ZM_WEB_LIST_THUMB_WIDTH / $Monitor->Width()); + $options['scale'] = intval(100*ZM_WEB_LIST_THUMB_WIDTH / $Monitor->ViewWidth()); $options['mode'] = 'single'; $stillSrc = $Monitor->getStreamSrc($options);