Annotation of ImageArchive/zpt/addImageMD.zpt, revision 1.3
1.1 dwinter 1: <html>
2: <body>
3: <h1> Add an Image to the Collection Folder</h1>
4: <p>Please make sure, that the filename contains no space or special character (other than a-Z and 0-9 and _)</p>
5: <p>The imagename <b> must have</b> a suffix which defines the imageformat, i.e. jpeg,jpg, tiff, tif, png,... . </p>
6: <form action="addImage2" method="post" enctype="multipart/form-data">
7: <table>
8:
9:
10: <tr>
11: <td>Filename:</td>
12: <td><input type="file" name="_fileupload"></td>
13: </tr>
14: </table>
15:
1.2 dwinter 16: <table>
17: <tr tal:repeat="field python:here.imageCollectionConfig.getFields().keys()">
1.3 ! dwinter 18: <tal:x tal:condition="not:python:field==here.imageCollectionConfig.getKey()">
1.2 dwinter 19: <td>
20: <tal:x replace="python:here.imageCollectionConfig.getFields()[field][0]"/>
21: </td>
22: <td>
23: <input size="70" tal:attributes="name field; "/>
24: </td>
1.3 ! dwinter 25: </tal:x>
1.2 dwinter 26: </tr>
27: </table>
28: <input type="hidden" name="-table" tal:attributes="value python:here.imageCollectionConfig.getTable()">
1.1 dwinter 29:
1.2 dwinter 30:
1.1 dwinter 31: <input type="submit">
32:
33: </form>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>