source: tags/release-1_5_0RC1/language/en_UK.iso-8859-1/help.html @ 6094

Last change on this file since 6094 was 862, checked in by plg, 19 years ago
  • improvement: long localized messages are in HTML files instead of $lang array. This is the case of admin/help and about pages.
  • deletion: of unused functions (ts_to_mysqldt, is_image, TN_exists, check_date_format, date_convert, get_category_directories, get_used_metadata_list, array_remove, pwg_write_debug, get_group_restrictions, get_all_group_restrictions, is_group_allowed, style_select, deprecated_getAttribute).
  • new: many new contextual help pages to replace descriptions previously included in pages.
  • modification: reorganisation of language files. Deletion of unused language keys, alphabetical sort. No faq.lang.php anymore (replaced by help.html). Only done for en_UK.iso-8859-1.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 7.7 KB
Line 
1<h2>Help</h2>
2
3<h3>Adding elements</h3>
4
5<ul>
6
7  <li>
8
9    <p>Category directories are in the PhpWebGallery directory
10    "galleries". Here follow the directory tree of a very small gallery (but
11    using many features) :</p>
12
13    <pre>
14.
15|-- admin
16|-- doc
17|-- galleries
18|   |-- category-1
19|   |   |-- category-1.1
20|   |   |   |-- category-1.1.1
21|   |   |   |   |-- category-1.1.1.1
22|   |   |   |   |   |-- pwg_high
23|   |   |   |   |   |   +-- wedding.jpg
24|   |   |   |   |   |-- thumbnail
25|   |   |   |   |   |   +-- TN-wedding.jpg
26|   |   |   |   |   +-- wedding.jpg
27|   |   |   |   +-- category-1.1.1.2
28|   |   |   +-- category-1.1.2
29|   |   |-- category-1.2
30|   |   |   |-- pookie.jpg
31|   |   |   +-- thumbnail
32|   |   |       +-- TN-pookie.jpg
33|   |   +-- category-1.3
34|   +-- category-2
35|       |-- piglet.gif
36|       |-- pwg_representative
37|       |   +-- video.jpg
38|       |-- thumbnail
39|       |   +-- TN-piglet.jpg
40|       +-- video.avi
41|-- include
42|-- install
43|-- language
44|-- template
45+-- tool</pre>
46
47  </li>
48 
49  <li>Basically, a category is represented by a directory at any level in
50  PhpWebGallery directory "galleries". Each category can contain as many
51  sub-level as you wish. In the example above, category-1.1.1.1 is at level
52  4 of deepness.</li>
53
54  <li>Basically, an element is represented by a file. A file can be a
55  PhpWebGallery element if its extenstion is among <code>file_ext</code>
56  configuration parameter possibilities (see <span
57  class="filename">include/config_default.inc.php</span> file). A file can
58  be a picture if its extension is among <code>picture_ext</code>
59  configuration parameter possibilities.</li>
60
61  <li>Picture elements must have an associated thumbnail (see section below
62  about thumbnails)</li>
63
64  <li>Picture elements can have a high quality file associated. As for
65  wedding.jpgin the example above. No prefix on the high quality picture is
66  required.</li>
67
68  <li>Non picture elements (video, sounds, file texts, what you want...) are
69  by default represented by an icon corresponding to the filename
70  extension. Optionaly, you can associate a thumbnail and a representative
71  file (see video.avi in the example above).</li>
72
73  <li>Warning : the name of directories and files must be composed of
74  letters, figures, "-", "_" or ".". No blank space, no accentuated
75  characters</li>
76
77  <li>Advise : a category can contain elements and sub-categories in the
78  same time. Nerverthless, you are strongly advised for each category to
79  choose between category containing elements OR category containing
80  sub-categories.</li>
81
82  <li>Once files, thumbnails and representatives are correctly placed in the
83  directories, go to : <span class="pwgScreen">Administration, General,
84  Synchronize</span></li>
85
86</ul>
87
88<h3>Thumbnails</h3>
89
90<ul>
91
92  <li>As said earlier, each element of picture type must be associated with
93  a thumbnail.</li>
94
95  <li>Thumbnails are stored in the sub-directory "thumbnail" of the category
96  directory. The thumbnail is a picture (same filename extensions possible
97  than picture files) which filename is prefixed by the configured
98  "Thumbnail prefix" (see admin panel, Configuration, General).</li>
99
100  <li>Thumbnails don't need to have the same extension as their associated
101  picture (a picture with .jpg extension can have a thumbnail in .GIF
102  extention for instance).</li>
103
104  <li>Advise: use an external module for thumbnails creation.</li>
105
106  <li>You can also use the thumbnail creation page (<span
107  class="pwgScreen">Administration, Pictures, Thumbnails</span>), but it is
108  not recommended. Indeed, thumbnail quality may be poor and it uses a high
109  CPU load which can be a problem if you use free web hosting.</li>
110
111  <li>If you choose to use your hosting provider to create thumbnails, you
112  must give write rights on all category directories and sub-directories
113  "thumbnail" for ugo (user, group, other).</li>
114
115</ul>
116
117<h3>Access authorization</h3>
118
119<ul>
120
121  <li>You can forbid access to categories. Categories can be "public" or
122  "private". Permissions (for groups and users) can be set only if the
123  category is private.</li>
124
125  <li>You can set a category to private by editing a single category (<span
126  class="pwgScreen">Administration, Categories, Manage, edit</span>) or by
127  setting options to your whole category tree (<span
128  class="pwgScreen">Administration, Categories, Public/Private</span>).</li>
129
130  <li>
131
132    <p>Once the category is private, you can manage permissions for groups
133    and users through 3 screens :(administration panel, Permissions).</p>
134
135    <ul>
136
137      <li><span class="pwgScreen">Administration, Identification, Users,
138      permissions action (one link per user)</span></li>
139
140      <li><span class="pwgScreen">Administration, Identification, Groups,
141      permissions action (one link per group)</span></li>
142
143      <li><span class="pwgScreen">Administration, Categories, Manage, edit
144      category permissions action (one link per category)</span></li>
145
146    </ul>
147
148  </li>
149
150</ul>
151
152<h3>Users Groups</h3>
153
154<ul>
155
156  <li>PhpWebGallery is able to manage groups of users. It can be very useful
157  to have common permission access for private categories.</li>
158
159  <li>You can create groups in <span class="pwgScreen">Administration,
160  Identification, Groups</span> and associate users to this group in <span
161  class="pwgScreen">Administration, Identication, Users</span>.</li>
162
163  <li>A user can belong to several groups. The authorization is stronger
164  than prohibition : if user "jack" belongs to groups "family" and
165  "friends", and that only group "family" can see category "Christmas 2003",
166  "jack" will be able to see "Christmas 2003".</li>
167
168</ul>
169
170<h3>Files upload by users</h3>
171
172<p>PhpWebGallery offers the possibility for users to upload images. in
173order to do it:</p>
174
175<ol>
176
177  <li>authorize upload on any categories (<span
178  class="pwgScreen">Administration, Categories, Manage, edit</span> or <span
179  class="pwgScreen">Administration panel, Categories, Upload</span>)</li>
180
181  <li>give write rights on directories for ugo (user, group, other)</li>
182
183</ol>
184
185<p>Files uploaded by users are not directly visible on the website, they
186must be validated by an administrator. For that purpose, an administrator
187must go in <span class="pwgScreen">Administration, Pictures, Waiting</span>
188in order to validate or to refuse the files proposed, then to synchronize
189filesystem with database.</p>
190
191
192<h3>Links between elements and categories, virtual categories</h3>
193
194<ul>
195
196  <li>PhpWebGallery dissociates categories where elements are stored and
197  categories where they are shown.</li>
198
199  <li>By default, elements are shown only in their real categories : the
200  ones corresponding to directories on the web server.</li>
201
202  <li>To link an element to a category, you just have to make the
203  association on the page of element edition (link to this screen on
204  picture.php logged as an administrator) or on the informations of all
205  elements of a category.</li>
206
207  <li>Using this principle, it is possible to create virtual categories : no
208  directory coresponds to this category. You can create virtual categories
209  in <span class="pwgScreen">Administration, Categories, Manage</span>.</li>
210
211</ul>
212
213<h3>Miscellanous informations</h3>
214
215<ul>
216
217  <li>As soon as you created your gallery, modify default display properties
218  in <span class="pwgScreen">Administration panel, Configuration,
219  Default</span>. Indeed, every new registered user will have by default the
220  same display properties.</li>
221
222  <li>If you have any question, do not hesitate to take a look at the forum
223  or ask a question there. The <a
224  href="http://forum.phpwebgallery.net">forum</a> (message board) is
225  available on the presentation site of PhpWebGallery. Check the <a
226  href="http://doc.phpwebgallery.net">official PhpWebGallery
227  documentation</a> for further reading.</li>
228
229</ul>
230
Note: See TracBrowser for help on using the repository browser.