Index: /trunk/ippMonitor/raw/getimage.php
===================================================================
--- /trunk/ippMonitor/raw/getimage.php	(revision 13280)
+++ /trunk/ippMonitor/raw/getimage.php	(revision 13281)
@@ -1,3 +1,5 @@
 <?php
+
+$debug = 0;
 
 ### these need to be set to the correct locations!!
@@ -56,6 +58,9 @@
 }
 
-if (0) {
+if ($debug) {
   echo "basename: $basename<br>";
+  for ($i = 0; $i < count($output); $i++) {
+    echo "output $i: $output[$i]<br>";
+  }
   echo "output:   $output[0]<br>";
   echo "status:   $status<br>";
@@ -65,5 +70,5 @@
 
 $file = fopen ($filename, "r");
-if ($file) {
+if ($file && !$debug) {
   # do I need to use image/jpg? can I modify this to image/png, etc, based on the type?
   header ('Content-Type: image/jpg');
