Annotation of ImageArchive/zpt/addImageMD.zpt, revision 1.2

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()">
        !            18:    <td>
        !            19:        <tal:x replace="python:here.imageCollectionConfig.getFields()[field][0]"/>
        !            20:     </td>
        !            21:    <td>
        !            22:         <input size="70" tal:attributes="name field; "/>
        !            23:    </td>
        !            24:    </tr>
        !            25:    </table>
        !            26:    <input type="hidden" name="-table" tal:attributes="value python:here.imageCollectionConfig.getTable()">
1.1       dwinter    27: 
1.2     ! dwinter    28:    
1.1       dwinter    29:     <input type="submit">  
                     30: 
                     31:    </form>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>