Index: /main/waeup.kofa/trunk/src/waeup/kofa/students/export.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/students/export.py	(revision 9936)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/students/export.py	(revision 9937)
@@ -18,6 +18,9 @@
 """Exporters for student related stuff.
 """
+import os
 import grok
 from datetime import datetime
+from zope.component import getUtility
+from waeup.kofa.interfaces import IExtFileStore, IFileStoreNameChooser
 from waeup.kofa.interfaces import MessageFactory as _
 from waeup.kofa.students.catalog import StudentsQuery, CourseTicketsQuery
@@ -402,6 +405,6 @@
     #: Fieldnames considered by this exporter
     fields = ('display_fullname',
-              'matric_number',
-              'certificate', 'faculty', 'department')
+              'student_id','matric_number',
+              'certificate', 'faculty', 'department', 'passport_path')
 
     #: The title under which this exporter will be displayed
@@ -416,4 +419,11 @@
         if name == 'faculty' and certificate is not None:
             value = certificate.__parent__.__parent__.__parent__.longtitle()
+        if name == 'passport_path' and certificate is not None:
+            file_id = IFileStoreNameChooser(context).chooseName(attr='passport.jpg')
+            os_path = getUtility(IExtFileStore)._pathFromFileID(file_id)
+            if not os.path.exists(os_path):
+                value = None
+            else:
+                value = '/'.join(os_path.split('/')[-4:])
         return super(
             ComboCardDataExporter, self).mangle_value(
Index: /main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py	(revision 9936)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py	(revision 9937)
@@ -1,8 +1,11 @@
+import os
 import grok
 import datetime
-from zope.component import queryUtility
+from cStringIO import StringIO
+from zope.component import queryUtility, getUtility
 from zope.event import notify
 from zope.interface.verify import verifyObject, verifyClass
-from waeup.kofa.interfaces import ICSVExporter
+from waeup.kofa.interfaces import (
+    ICSVExporter, IExtFileStore, IFileStoreNameChooser)
 from waeup.kofa.students.catalog import StudentsQuery
 from waeup.kofa.students.export import (
@@ -941,13 +944,25 @@
         return
 
+    def create_passport_img(self, student):
+        # create some passport file for `student`
+        storage = getUtility(IExtFileStore)
+        image_path = os.path.join(os.path.dirname(__file__), 'test_image.jpg')
+        self.image_contents = open(image_path, 'rb').read()
+        file_id = IFileStoreNameChooser(student).chooseName(
+            attr='passport.jpg')
+        storage.createFile(file_id, StringIO(self.image_contents))
+
     def test_export_all(self):
         self.setup_student(self.student)
+        self.create_passport_img(self.student)
         exporter = ComboCardDataExporter()
         exporter.export_all(self.app, self.outfile)
         result = open(self.outfile, 'rb').read()
         self.assertTrue(
-            'display_fullname,matric_number,certificate,faculty,department\r\n'
-            'Anna M. Tester,234,Unnamed Certificate,Faculty of Unnamed '
-            'Faculty (NA),Department of Unnamed Department (NA)'
+            'display_fullname,student_id,matric_number,certificate,faculty,'
+            'department,passport_path\r\nAnna M. Tester,A111111,234,'
+            'Unnamed Certificate,Faculty of Unnamed Faculty (NA),'
+            'Department of Unnamed Department (NA),'
+            'students/00110/A111111/passport_A111111.jpg\r\n'
             in result
             )
