File:  [Repository] / ImageArchive / zpt / addImageMD.zpt
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Mon May 22 13:54:37 2006 UTC (18 years ago) by dwinter
Branches: MAIN
CVS tags: HEAD
minorCVS: ----------------------------------------------------------------------

<html>
  <body>
    <h1> Add an Image to the Collection Folder</h1>
	<p>Please make sure, that the filename contains no space or special character (other than a-Z and 0-9 and _)</p>
	<p>The imagename <b> must have</b> a suffix which defines the imageformat, i.e. jpeg,jpg, tiff, tif, png,... . </p>
    <form action="addImage2" method="post" enctype="multipart/form-data">
    <table>
  

      <tr>
	<td>Filename:</td>
	<td><input type="file" name="_fileupload"></td>
      </tr>
    </table>

  	<table>
	  <tr tal:repeat="field python:here.imageCollectionConfig.getFields().keys()">
	<tal:x tal:condition="not:python:field==here.imageCollectionConfig.getKey()">
	<td>
		<tal:x replace="python:here.imageCollectionConfig.getFields()[field][0]"/>
    </td>
 	<td>
 		 <input size="70" tal:attributes="name field; "/>
 	</td>
</tal:x>
	</tr>
	</table>
  	<input type="hidden" name="-table" tal:attributes="value python:here.imageCollectionConfig.getTable()">

	
    <input type="submit">	

   </form>

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