From 3dadcc8d32eabc413783d66e9ff76bd35568b1d0 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 12 Aug 2016 15:14:51 -0400 Subject: [PATCH] add ability to pass show=capture or show=analyse to getImageSrc --- web/includes/Frame.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/includes/Frame.php b/web/includes/Frame.php index 707569157..661654d24 100644 --- a/web/includes/Frame.php +++ b/web/includes/Frame.php @@ -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 ) {