add ability to pass show=capture or show=analyse to getImageSrc

This commit is contained in:
Isaac Connor
2016-08-12 15:14:51 -04:00
parent bc4923b555
commit 3dadcc8d32

View File

@@ -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 ) {