mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-20 05:34:12 -04:00
add ability to pass show=capture or show=analyse to getImageSrc
This commit is contained in:
1 parent
bc4923b555
commit
3dadcc8d32
1 file changed
+2
-2
@@ -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