more and less debug
This commit is contained in:
parent
8544589843
commit
de08e3114e
|
@ -206,7 +206,7 @@ while ( $event_row = dbFetchNext( $results ) ) {
|
||||||
<td class="colThumbnail">
|
<td class="colThumbnail">
|
||||||
<?php
|
<?php
|
||||||
if ( ( $event->SaveJPEGs() == 0 ) and file_exists($event->Path().'/snapshot.jpg') ) {
|
if ( ( $event->SaveJPEGs() == 0 ) and file_exists($event->Path().'/snapshot.jpg') ) {
|
||||||
Logger::Debug("Using snapshot");
|
Logger::Debug("Using snapshot" . $event->Path().'/snapshot.jpg' );
|
||||||
$imgSrc = '?view=image&eid='.$event->Id().'&fid=snapshot&width='.$thumbData['Width'].'&height='.$thumbData['Height'];
|
$imgSrc = '?view=image&eid='.$event->Id().'&fid=snapshot&width='.$thumbData['Width'].'&height='.$thumbData['Height'];
|
||||||
} else {
|
} else {
|
||||||
Logger::Debug("Not Using snapshot" . $event->Path().'/snapshot.jpg' );
|
Logger::Debug("Not Using snapshot" . $event->Path().'/snapshot.jpg' );
|
||||||
|
|
|
@ -66,7 +66,6 @@ if ( empty($_REQUEST['path']) ) {
|
||||||
$Frame = new Frame();
|
$Frame = new Frame();
|
||||||
$Frame->FrameId('snapshot');
|
$Frame->FrameId('snapshot');
|
||||||
$path = $Event->Path().'/snapshot.jpg';
|
$path = $Event->Path().'/snapshot.jpg';
|
||||||
Warning("Path to snapshot: $path");
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$show = empty($_REQUEST['show']) ? 'capture' : $_REQUEST['show'];
|
$show = empty($_REQUEST['show']) ? 'capture' : $_REQUEST['show'];
|
||||||
|
|
Loading…
Reference in New Issue