Output a real snapshot of the camera in console view

This commit is contained in:
Kyle Johnson 2014-11-20 13:47:41 +00:00
parent 2ae1880006
commit 9dd1a2261f
1 changed files with 6 additions and 1 deletions

View File

@ -150,7 +150,12 @@ xhtmlHeaders( __FILE__, $SLANG['Console'] );
</div>
<div class="panel-body center-block">
<img src="http://placehold.it/120&text=<?= $monitor['Name'] ?>!" />
<div>
<?php
$streamSrc = getStreamSrc( array( "mode=".$streamMode, "monitor=".$monitor['Id'], "scale=".$scale ) );
outputImageStill( "liveStream", $streamSrc, reScale( $monitor['Width'], $scale ), reScale( $monitor['Height'], $scale ), $monitor['Name'] );
?>
</div>
<p><span ng-bind="Counts<?= $monitor['Id'] ?>"></span> recent events</p>
</div>