]> git.decadent.org.uk Git - memories.git/blob - templates/photo/upload
d17d3cb322fc348029e99c576367a249a120384b
[memories.git] / templates / photo / upload
1 <html>
2 <head>
3     <title> Memories - ANCC Photo Sharing </title>
4     <link title="Maypole" href="[%base%]/static/memories.css" type="text/css" rel="stylesheet"/>
5     <script type="text/javascript" src="[%base%]/tag/list_js"></script>
6     <script type="text/javascript" src="[%base%]/static/upload.js"></script>
7 </head>
8 <body onload="init()">
9 [% INCLUDE nav %]
10 <table width="100%">
11     <tr>
12     <td valign="top">
13     [% IF messages %]
14     <div class="messages">
15     <ul> [% FOR m = messages %] <li> [%m%] </li> [% END %]
16     </ul></div>
17     [% END %]
18    <div id="main">
19 <h1> Upload a photo </h1>
20 <p>
21 This is where you can upload your photographs. At the moment, you must
22 upload them one at a time; in the near future, you will be able to
23 upload a Zip file containing several photos.
24 </p>
25 <p>
26 Please note that it may take a while to transfer your photograph to the
27 server, so don't press stop or reload after pressing the Upload button.
28 </p>
29
30 <form method="post" action="[%base%]/photo/do_upload" enctype="multipart/form-data">
31
32 <table>
33     <tr><td> Title: </td>
34     <td><input name="title"></td>
35     </tr>
36
37     <tr><td> Tags: </td>
38     <td><input name="tags" id="tags"></td>
39     <tr><td> &nbsp; </td> <td>
40 <div class="messages"><small>
41 <b>Tagging advice</b>: Tags should be words, (<i>portrait</i>, <i>henry</i>) or
42 phrases surrounded by double quotes. (<i>"tall buildings"</i>) You can
43 put any number of tags in the "add tags" box, like this:
44 <p>
45 <i> landscape cambridge "tall buildings" </i>
46 </p>
47 You don't have to do this at this stage, and you can always re-tag
48 photos later, but if do it now, it saves you forgetting later! Try to
49 re-use tags that other people have used, then all the photos can be
50 found under the same tag. Use the <b><a
51 href="[%base%]tag/list">tag list</a></b> to find existing tags.
52 </small>
53 <p>
54 Suggested tags
55 </p>
56 <div id="suggestionlist"/>
57 </td> </tr>
58     <tr><td> File </td>
59     <td><input type="file" name="photo"></td>
60     <tr><td colspan="2"><input type="submit" name="Upload" value="Upload"></td></tr>
61 </table>
62 </form>
63 [% INCLUDE footer %]