3 <head tal:replace="nothing">
4 <title>slot_image_form</title>
5 <meta http-equiv="content-type" content="text/html;charset=UTF-8">
8 <body tal:define="object nocall:options/object;
9 thumbnail object/thumbnail;
10 width thumbnail/width;
11 height thumbnail/height;
12 showSize object/get_size;
13 src string:${object/absolute_url}/thumbnail;
14 title python:object and object.title or ''"
18 <div tal:condition="showSize" tal:omit-tag="">
19 <span i18n:translate="" tal:omit-tag="">width / height:</span>
20 <input type="text" name="textfieldName" size="4" class="mosaic_input"
21 tal:attributes="name python:'.'.join((object.getId(), 'thumb_width')) + ':record:int'; value width;"
22 tal:condition="showSize" /> /
23 <input type="text" name="textfieldName" size="4" class="mosaic_input"
24 tal:attributes="name python:'.'.join((object.getId(), 'thumb_height')) + ':record:int';
25 value height;" /><br/></div>
26 <img tal:attributes="src src;
29 alt python:title or 'place holder for an image'" /><br/>
30 <small i18n:translate="">Title :</small>
31 <input type="text" class="mosaic_input"
32 tal:attributes="name python:'.'.join((object.getId(), 'title')) + ':record:string' ; value title" />
34 <span i18n:translate="">Change image:</span>
36 <input class="mosaic_input" type="file"
37 tal:attributes="name python:'.'.join((object.getId(), 'file')) + ':record'" />
38 <input type="hidden" name="noAjax" value="1" />