1 <html metal:use-macro="here/main_template/macros/master">
4 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
5 <title>photo_edit_form</title>
9 <div metal:fill-slot="header" tal:replace="nothing"></div>
10 <div metal:fill-slot="main" i18n:domain="plinn">
12 <table tal:condition="here/size" class="photo_viewer">
15 <img src="corse_071.jpg" border="0"
16 tal:define="size python:here.getResizedImageSize(size=(500,500));
18 height python:size[1];"
19 tal:attributes="src string:${here/absolute_url}/getResizedImage?size=500_500;
23 <h4>Nouveau fichier</h4>
24 <form action="." method="post" enctype="multipart/form-data"
25 tal:attributes="action string:${here/absolute_url}/photo_edit_form">
26 <input type="hidden" name="noAjax" value="1" />
27 <input type="file" name="file" size="16"><input type="submit" name="upload" value="Send" i18n:attributes="value" />
32 <form tal:attributes="action string:${here/absolute_url}/photo_edit_form" method="post">
33 <div metal:use-macro="here/metadata_edit_form_macros/macros/iptc">