From ad2b67127e353549d5fa20f907ecfa73112dfe11 Mon Sep 17 00:00:00 2001 From: stan Date: Fri, 3 Jan 2003 15:08:24 +0000 Subject: [PATCH] Improved WAP interface, now works on all capturing monitors. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@233 e3e1d417-86f3-4887-817a-d78f3d33393f --- web/zmwml.php | 41 +++++++++-------------------------------- 1 file changed, 9 insertions(+), 32 deletions(-) diff --git a/web/zmwml.php b/web/zmwml.php index db7d5db59..66d773b49 100644 --- a/web/zmwml.php +++ b/web/zmwml.php @@ -19,6 +19,12 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +// +// Note: This is _really_ prototypical and not intended to be much +// use at present. However I'm working on a much nicer version with +// built in brower capability detection which should be much nicer. +// + ini_set( "session.name", "ZMSESSID" ); ini_set( "session.auto_start", "1" ); ini_set( "session.use_cookies", "0" ); @@ -119,7 +125,7 @@ if ( $view == "console" ) - + - - -ZM - <?php echo $monitor[Name] ?> - Watch - - - - - - - - - $browser_image"; - //exec( $command ); $browser_image = "$monitor[Name]-wap-$image_time.jpg"; $command = NETPBM_DIR."/jpegtopnm -dct fast $monitor_image | ".NETPBM_DIR."/pnmscale -xysize $browser[Width] $browser[Height] | ".NETPBM_DIR."/ppmtojpeg > $browser_image"; exec( $command );