mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-04-04 22:14:07 -04:00
add ability to pass show=capture or show=analyse to getImageSrc
This commit is contained in:
@@ -69,8 +69,8 @@ class Frame {
|
||||
|
||||
}
|
||||
|
||||
public function getImageSrc( ) {
|
||||
return $_SERVER['PHP_SELF'].'?view=image&fid='.$this->{'Id'};
|
||||
public function getImageSrc( $show='capture' ) {
|
||||
return $_SERVER['PHP_SELF'].'?view=image&fid='.$this->{'Id'}.'&show='.$show;;
|
||||
} // end function getImageSrc
|
||||
|
||||
public static function find( $parameters = array(), $limit = NULL ) {
|
||||
|
||||
Reference in New Issue
Block a user