Index: trunk/Ohana/src/opihi/dvo/gimages.c
===================================================================
--- trunk/Ohana/src/opihi/dvo/gimages.c	(revision 28871)
+++ trunk/Ohana/src/opihi/dvo/gimages.c	(revision 28872)
@@ -235,4 +235,6 @@
     sprintf (name, "IMAGEname:%d", Nfound);
     set_str_variable (name, image[i].name);
+    sprintf (name, "IMAGEphotcode:%d", Nfound);
+    set_int_variable (name, image[i].photcode);
     Nfound ++;
     free (date);
@@ -243,4 +245,5 @@
   set_int_variable ("IMAGEccd:n", Nfound);
   set_int_variable ("IMAGEname:n", Nfound);
+  set_int_variable ("IMAGEphotcode:n", Nfound);
 
   free (image);
