diff --git a/web/skins/classic/views/events.php b/web/skins/classic/views/events.php
index 7af36112d..4be96d4ed 100644
--- a/web/skins/classic/views/events.php
+++ b/web/skins/classic/views/events.php
@@ -210,16 +210,16 @@ while ( $event_row = dbFetchNext( $results ) ) {
?>
Path().'/snapshot.jpg' ) ) {
-Warning("Using snapshot");
+ if ( ( $event->SaveJPEGs() == 4 ) and file_exists($event->Path().'/snapshot.jpg') ) {
+ Logger::Debug("Using snapshot");
$imgSrc = '?view=image&eid='.$event->Id().'&fid=snapshot&width='.$thumbData['Width'].'&height='.$thumbData['Height'];
} else {
-Warning("Not Using snapshot" . $event->Path().'/snapshot.jpg' );
+ Logger::Debug("Not Using snapshot" . $event->Path().'/snapshot.jpg' );
$imgSrc = '?view=image&eid='.$event->Id().'&fid='.$thumbData['FrameId'].'&width='.$thumbData['Width'].'&height='.$thumbData['Height'];
}
$streamSrc = $event->getStreamSrc( array( 'mode'=>'jpeg', 'scale'=>$scale, 'maxfps'=>ZM_WEB_VIDEO_MAXFPS, 'replay'=>'single') );
- $imgHtml = ' ';
+ $imgHtml = ' ';
echo makePopupLink(
'?view=frame&eid='.$event->Id().'&fid='.$thumbData['FrameId'],
|