Index: WAeUP_SRP/base/skins/waeup_student/accommodation_slip.pt
===================================================================
--- WAeUP_SRP/base/skins/waeup_student/accommodation_slip.pt	(revision 3115)
+++ WAeUP_SRP/base/skins/waeup_student/accommodation_slip.pt	(revision 3116)
@@ -12,7 +12,6 @@
            
           <table width="" cellpadding="2" cellspacing="0" summary="Form layout">
-    
-            <tr tal:condition="python: 'passport' in info_acco['student'].application.getContent().objectIds()">
-              <td colspan="2"><img tal:attributes="src string:${here/portal_url}/campus/students/${info_acco/id}/application/passport"/>
+            <tr tal:condition="python: here.waeup_tool.picturesExist(('passport',),info_acco['student_id'])"> 
+              <td colspan="2"><img tal:attributes="src string:${here/portal_url}/viewimage/${info_acco/student_id}/passport_${info_acco/student_id}.jpg"/>
               </td>
             </tr>   
