ImageMgr/new.skin
general parameters used in this skin:
  • request.topic
  • response.action

Sourcecode in ImageMgr/new.skin:
1:   <form method="post" action="<% response.action %>" enctype="multipart/form-data">
2:   <table border="0" width="400" cellspacing="0" cellpadding="3">
3:   <tr>
4:   <td class="small" nowrap="nowrap">Local file:</td>
5:   <td nowrap="nowrap"><% input type="file" name="rawimage" size="20" %></td>
6:   </tr>
7:   <tr>
8:   <td align="center"><em>&#151; or &#151;</em></td>
9:   <td class="small">(only specify either a local file or a remote URL)</td>
10:  </tr>
11:  <tr>
12:  <td class="small" nowrap="nowrap">Remote URL:</td>
13:  <td nowrap="nowrap"><% input name="url" size="30" %></td>
14:  </tr>
15:  <tr>
16:  <td valign="top" class="small" nowrap="nowrap">Name:</td>
17:  <td><% input name="alias" size="30" %><br /><span class="small">If you do not specify a name Antville will create one based on the name of the local or remote file, resp.</span></td>
18:  </tr>
19:  <tr>
20:  <td class="small" nowrap="nowrap" valign="top">Description:</td>
21:  <td nowrap="nowrap"><% input type="textarea" name="alttext" cols="25" rows="3" %></td>
22:  </tr>
23:  <tr>
24:  <td class="small" colspan="2">Add this image to a gallery</td>
25:  </tr>
26:  <tr>
27:  <td></td>
28:  <td><table>
29:  <tr>
30:  <td class="small">Choose a gallery...<br /><% imagemgr.topicchooser firstOption="--- choose gallery ---" %></td>
31:  <td valign="top" class="small">...or enter a new one<br />&nbsp;<input type="text" name="topic" value="<% request.topic %>" /></td>
32:  </tr>
33:  </table></td>
34:  </tr>
35:  <tr>
36:  <td colspan="2">If you want to resize the image please specify your desired maximum width and/or maximum height. If you specify both the image will be resized to match both criterias, but the proportions of the image will be preserved.</td>
37:  </tr>
38:  <tr>
39:  <td class="small" nowrap="nowrap">max. width:</td>
40:  <td nowrap="nowrap"><% input type="text" name="maxwidth" size="5" value="400" %>&nbsp;pixel</td>
41:  </tr>
42:  <tr>
43:  <td class="small" nowrap="nowrap">max. height:</td>
44:  <td nowrap="nowrap"><% input type="text" name="maxheight" size="5" value="400" %>&nbsp;pixel</td>
45:  </tr>
46:  <tr>
47:  <td class="small" nowrap="nowrap">&nbsp;</td>
48:  <td class="small">If the width or height of your image exceeds 100 pixels Antville automatically creates a thumbnail of it, too.</td>
49:  </tr>
50:  <tr>
51:  <td class="small" valign="top" nowrap="nowrap">&nbsp;</td>
52:  <td nowrap="nowrap"><br /><% input type="submit" name="save" value="Save" %>&nbsp;<% input type="submit" name="cancel" value="Cancel" %></td>
53:  </tr>
54:  </table>
55:  </form>
56: