Index: trunk/psModules/src/camera/pmFPAfileDefine.c
===================================================================
--- trunk/psModules/src/camera/pmFPAfileDefine.c	(revision 20636)
+++ trunk/psModules/src/camera/pmFPAfileDefine.c	(revision 21314)
@@ -208,4 +208,12 @@
     file->camera = psMemIncrRefCounter(camera);
     file->cameraName = psMemIncrRefCounter(cameraName);
+
+    // Copy the file id valuves if they have been set in the config
+    if (config->sourceId) {
+        file->sourceId = config->sourceId;
+    }
+    if (config->imageId) {
+        file->imageId = config->imageId;
+    }
 
     // XXX this seems a bit of a hack: use the cameraName to determine the mosaic level...
