Index: WAeUP_SRP/base/skins/cps_custom/widget_image_render.pt
===================================================================
--- WAeUP_SRP/base/skins/cps_custom/widget_image_render.pt	(revision 2340)
+++ WAeUP_SRP/base/skins/cps_custom/widget_image_render.pt	(revision 2342)
@@ -1,28 +1,28 @@
 <tal:block define="mode options/mode;
-  id here/getWidgetId;
-  fields here/fields;
-  current_filename options/current_filename;
-  empty_file options/empty_file;
-  session_file options/session_file;
-  mimetype options/mimetype;
-  size options/size;
-  content_url options/content_url;
-  last_modified options/last_modified;
-  content_url_nocache string:${content_url}?nocache=${last_modified};
-  image_width options/width;
-  image_height options/height;
-  image_tag options/image_tag;
-  ">
-<span tal:condition="python:0">
-  <img tal:condition="python: mode == 'view' and not empty_file"
-    tal:replace="structure image_tag" />
-</span>
-<span tal:condition="python: mode == 'view' and not empty_file">
-  <a href="" target="_new" 
-     tal:attributes="href content_url"
-     tal:content="current_filename" >
-  </a>
-</span>
-
+           id here/getWidgetId;
+           fields here/fields;
+           current_filename options/current_filename;
+           empty_file options/empty_file;
+           session_file options/session_file;
+           mimetype options/mimetype;
+           size options/size;
+           content_url options/content_url;
+           last_modified options/last_modified;
+           content_url_nocache string:${content_url}?nocache=${last_modified};
+           image_width options/width;
+           image_height options/height;
+           image_tag options/image_tag;
+           show_image options/show_image|nothing;"
+           >
+  <span tal:condition="python: mode == 'view' and not empty_file" tal:omit-tag="">
+    <img tal:condition="python: show_image"
+         tal:replace="structure image_tag" />
+    <span tal:condition="python: not show_image" tal:omit-tag="">
+      <a href="" target="_new" 
+         tal:attributes="href content_url"
+         tal:content="current_filename" >
+      </a>
+    </span>
+  </span>
   <tal:block condition="python: mode == 'edit'">
 
