Youpi : conservation de l'état de l'arborescence, même dans le cas du repliement.
[MosaicDocument.git] / default_slots / slot_image_view.pt
1 <html tal:omit-tag="">
2 <head tal:replace="nothing">
3 <title>slot_image_render</title>
4 <meta http-equiv="content-type" content="text/html;charset=UTF-8">
5 </head>
6 <body tal:define="object nocall:options/object;
7 thumbnail object/thumbnail;
8 src thumbnail/absolute_url;
9 width thumbnail/width;
10 height thumbnail/height;
11 title object/title|nothing;"
12 i18n:domain="plinn"
13 tal:omit-tag="">
14 <div class="image">
15 <a title="Click to see image full-size" target="image_view" i18n:attributes="title"
16 tal:attributes="href string:${object/absolute_url}/getJpegImage;
17 onClick string:window.open('${object/absolute_url}/getJpegImage', 'image_view', 'toolbar=no,scrollbars=yes,,resizable=1,width=${object/width},height=${object/height}')">
18 <img border="0"
19 tal:attributes="
20 width width;
21 height height;
22 src src;
23 alt python:title or ''" />
24 </a>
25 <div tal:condition="title" tal:content="title" class="caption">title</div>
26 </div>
27 </body>
28 </html>