source: collections/documented-examples/trunk/image-e/etc/collect.cfg@ 19371

Last change on this file since 19371 was 19371, checked in by kjdon, 15 years ago

opened and closed in GLI. minor formatting changes to file. also replaced the english bit of text in the other lang descriptions with a translation placeholder

  • Property svn:executable set to *
File size: 23.2 KB
RevLine 
[18738]1creator [email protected]
2public true
3
[18789]4buildtype mgpp
[18738]5
[19217]6plugin ImagePlugin -OIDtype incremental
[18789]7plugin GreenstoneXMLPlugin
8plugin MetadataXMLPlugin
9plugin ArchivesInfPlugin
10plugin DirectoryPlugin
[18738]11
[18789]12classify List -metadata Image -buttonname Browse
[18738]13
[18789]14format VList "<td valign=\'top\'>[link][thumbicon][/link]</td>
15<td valign=\'top\'>_ImageName_: [Image]<br>_Width_: [ImageWidth]
16<br>_Height_: [ImageHeight]<br>_Size_: [ImageSize]</td>"
[18738]17
[18789]18format DocumentText "<center><table width=\'_pagewidth_\'>
19<tr><td><img src=\'_httpassocdir_/[assocfilepath]/[Image]\'>
20<br>_ImageName_: [Image]<br>_Width_: [ImageWidth]<br>_Height_: [ImageHeight]
21<br>_Size_: [ImageSize]</td></tr></table></center>"
[18738]22
23format DocumentHeading ""
24format DocumentButtons ""
25
[18789]26format HList "[link][highlight][ex.Title][/highlight][/link]"
[18738]27
[19371]28
[19217]29# strings that don't need translating
[19371]30collectionmeta sampleoid [l=en] "D2"
[19217]31
[18738]32# -- English strings ----------------
33collectionmeta collectionname [l=en] "Simple image collection"
34
35collectionmeta ImageName [l=en] "Image Name"
36collectionmeta Width [l=en] "Width"
37collectionmeta Height [l=en] "Height"
38collectionmeta Size [l=en] "Size"
39
40# -- French strings ----------------
[18789]41collectionmeta collectionname [l=fr] "Collection d\'images simple"
[18738]42
[18789]43collectionmeta ImageName [l=fr] "Nom d\'image"
[18738]44collectionmeta Width [l=fr] "Largeur"
45collectionmeta Height [l=fr] "Hauteur"
46collectionmeta Size [l=fr] "Taille"
47
48# -- Spanish strings ----------------
49collectionmeta collectionname [l=es] "Colección de imágenes sencillas"
50
51collectionmeta ImageName [l=es] "Título de la imagen"
52collectionmeta Width [l=es] "Ancho"
53collectionmeta Height [l=es] "Altura"
54collectionmeta Size [l=es] "Tamaño"
55
56# -- Russian strings ----------------
57collectionmeta collectionname [l=ru] "ПрПстая кПллекцОя ОзПбражеМОй"
58
59collectionmeta ImageName [l=ru] "ИЌя ОзПбражеМОя"
60collectionmeta Width [l=ru] "КОрОМа"
61collectionmeta Height [l=ru] "ВысПта"
62collectionmeta Size [l=ru] "РазЌер"
63
64# -- English text ----------------
65collectionmeta collectionextra [l=en] "This is a basic image collection that contains no text and no
[18789]66explicit metadata. Several JPEG files are placed in the import directory prior to importing
67and building the collection, that\'s all.
[18738]68<p>
69The images in this collection have been produced by members of the Department of Computer Science, University of Waikato.
[18789]70The University of Waikato holds copyright. They may be distributed freely, without any restrictions.
[18738]71
72<h3>How the collection works</h3>\n
73
74<p>
[19217]75<a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&d=_sampleoid_\">Here</a> is a sample document in the collection.
[18738]76The <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>
77configuration file</a> specifies no indexes, so the search button is
78suppressed.\n
79
80<p>
[18789]81There is only one plugin, <i>ImagePlugin</i>, aside from the four that are
82always present (<i>GreenstoneXMLPlugin</i>, <i>MetadataXMLPlugin</i>, <i>ArchivesInfPlugin</i>, <i>DirectoryPlugin</i>).
83<i>ImagePlugin</i> relies on the existence of two programs from the ImageMagick suite
[18738]84(<a href=\"http://www.imagemagick.org\">http://www.imagemagick.org</a>): <i>convert</i> and
85<i>identify</i>. Greenstone will not be able to build the collection correctly unless
86ImageMagick is installed on your computer.\n
87
[18789]88<p> <i>ImagePlugin</i> automatically creates a thumbnail and generates the following
[18738]89metadata for each image in the collection:\n
90
91<blockquote>
92<table border=0 cellspacing=0>
93<tr><td width=125 valign=top><i>Image</i></td><td>Name of file containing the image <tr>\n
94<tr><td valign=top><i>ImageWidth</i></td><td>Width of image (in pixels) <tr>\n
95<tr><td valign=top><i>ImageHeight</i></td><td>Height of image (in pixels) <tr>\n
[18789]96<tr><td valign=top><i>Thumb</i></td><td> Name of gif file containing thumbnail of image <tr>\n
[18738]97<tr><td valign=top><i>ThumbWidth</i></td><td>Width of thumbnail image (in pixels) <tr>\n
98<tr><td valign=top><i>ThumbHeight</i></td><td>Height of thumbnail image (in pixels) <tr>\n
99<tr><td valign=top><i>thumbicon</i></td><td>Full pathname specification of thumbnail image <tr>\n
100<tr><td valign=top><i>assocfilepath</i></td><td>Pathname of image directory in the collection\'s <i>assoc</i> directory <tr>\n
101</table>
102</blockquote>\n
103
104<p>
105The image is stored as an \"associated file\" in the <i>assoc</i> subdirectory
106of the collection\'s <i>index</i> directory. (<i>Index</i> is where all files
107necessary to serve the collection are placed, to make it self-contained.) The
[18789]108pathname &#095;<i>httpassocdir</i>&#095;, which is the same as
[18738]109&#095;<i>httpcollection</i>&#095;<i>/index/assoc</i>, refers to this directory. For any
110document, its thumbnail and image are both in a subdirectory whose filename is
111given by <i>assocfilepath</i>. The metadata element <i>thumbicon</i> is set to
112the full pathname specification of the thumbnail image, and can be used in the
113same way as <i>srcicon</i> (see the MSWord and PDF demonstration collection).\n
114
115<p>
116The second format statement in the
117<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>configuration file</a>,
[18789]118<i>DocumentText</i>, dictates how the document will appear, and
[19217]119<a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&d=_sampleoid_\">this</a> is the
[18738]120result. There is no document text (if there were, it would be producible by
121[<i>Text</i>]). What is shown is the image itself, along with some metadata extracted
122from it.\n
123
124<p>
125The configuration file
[18789]126specifies one classifier, a <i>List</i> based on <i>Image</i> metadata, shown
[19042]127<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\">here</a>. The format statement shows the thumbnail image along with
[18738]128some metadata. (Any other classifiers would have the same format, since this
129statement does not name the classifier.) \n
130
131<p>
132You may wonder why the thumbnail image is generated and stored explicitly, when
133the same effect would be obtained by using the original image and scaling it:\n
134
135<pre>
[18789]136&lt;td&gt;[link]&lt;img src=\'_httpassocdir_/[assocfilepath]\n
137/[Image]\' width=[ThumbWidth] height=[ThumbHeight]&gt;\n
138[/link]&lt;\/td&gt;&lt;td valign=middle&gt;&lt;i&gt;[Title]&lt;\/i&gt;&lt;\/td&gt;
[18738]139</pre>\n
140
141<p>
142The reason is to save communication bandwidth by not sending large images when
143small ones would do.\n
144
145<p>For a more comprehensive image collection, see the
146<a href=\"http://www.nzdl.org/cgi-bin/library?a=p&p=about&c=aircraft\">kiwi aircraft images</a>
147in the New Zealand Digital Library. The structure of this collection is
148quite different, however: it is a collection of web pages that include many
[18789]149images along with the text. The HTML plugin <i>HTMLPlugin</i> also processes image
150files, but it does so in a different way from ImagePlugin (for example, it
[19217]151does not produce the metadata described above).\n
[18738]152"
153
154# -- French text ----------------
155collectionmeta collectionextra [l=fr] "
[18789]156C\'est une collection d\'images de base qui ne contient ni texte
157ni méta-donnée explicite. Plusieurs fichiers JPEG sont placés
158dans dans le répertoire \"import\" avant toute importation
159et toute création de la collection. C\'est tout.
[18738]160<p>
[19371]161_text1_
[18738]162
163<h3>Comment fonctionne cette collection ?</h3>
164
165<p>
[19217]166<a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&d=_sampleoid_\">Voici</a> un document test dans la collection. Le <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg> fichier de configuration</a> ne spécifie aucun index, ainsi le bouton de recherche est supprimé.
[18738]167
168<p>
[18789]169Il n\'y a qu\'un seul plugin, <i>ImagePlugin</i>, à cÎté des quatre qui sont toujours présents
170(<i>GreenstoneXMLPlugin</i>, <i>MetadataXMLPlugin</i>, <i>ArchivesInfPlugin</i>, <i>DirectoryPlugin</i>). <i>ImagePlugin</i> dépend de deux programmes de la suite ImageMagick (<a href=\"http://www.imagemagick.org\">http://www.imagemagick.org</a>):
171<i>convert</i> et <i>identify</i>. Greenstone ne sera pas en mesure de créer la collection sans l\'installation de ImageMagick sur votre ordinateur.
[18738]172
[18789]173<p> <i>ImagePlugin</i> crée automatiquement une vignette d\'image et génÚre les
[18738]174méta-données suivantes pour chaque image dans la collection :
175
176<blockquote>
177<table border=0 cellspacing=0>
[18789]178<tr><td width=125 valign=top><i>Image</i></td><td>Nom de fichier contenant l\'image<tr>
179<tr><td valign=top><i>ImageWidth</i></td><td>Largeur de l\'image(en pixels)<tr>
180<tr><td valign=top><i>ImageHeight</i></td><td>Hauteur de l\'image(en pixels)<tr>
181<tr><td valign=top><i>Thumb</i></td><td>Nom de fichier gif contenant la vignette de l\'image<tr>
182<tr><td valign=top><i>ThumbWidth</i></td><td>Largeur de la vignette d\'image (en pixels)<tr>
183<tr><td valign=top><i>ThumbHeight</i></td><td>Hauteur de la vignette d\'image (en pixels)<tr>
184<tr><td valign=top><i>Thumbicon</i></td><td>Spécification entiÚre du chemin de la vignette d\'image <tr>
185<tr><td valign=top><i>assocfilepath</i></td><td>Chemin du répertoire de l\'image dans le dossier <i>assoc</i> de la collection<tr>
[18738]186</table>
187</blockquote>
188
189<p>
[18789]190L\'image est stockée en tant que \"associated file\" (fichier associé) du sous-répertoire <i>assoc</i> du répertoire <i>index</i> de la collection. (<i>Index</i> est le lieu de stockage de tous les fichiers nécessaires à la collection pour en assurer la consistance. Le chemin _<i>httpassocdir</i>_ qui est le même que _<i>httpcollection</i>_<i>/index/assoc</i> fait référence à ce répertoire. Pour tout document, la vignette et l\'image sont tous les deux dans
191un sous répertoire dont le nom de fichier est donné par <i>assocfilepath</i>. L\'élément de méta-donnée <i>thumbicon</i> est prend la valeur de du chemin complet de la vignette de l\'image et peut être utilisé de la même façon que <i>srcicon</i> (voir la collection de démonstration MSWord et PDF).
[18738]192
193<p>
[19217]194La seconde déclaration de format dans le <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>fichier de configuration</a>, <i>DocumentText</i>, impose la maniÚre dont le document est affiché; <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&d=_sampleoid_\">voici</a> le résultat. Il n\'existe aucun texte de document (si tel était le cas, il serait produit par <i>[Text]</i>). Ce qui est affiché est l\'image elle-même, avec quelques méta-données qui en sont extraites.
[18738]195
196<p>
[18789]197Le fichier de configuration spécifie un classificateur, une <i>List</i> basée
[19042]198sur la méta-donnée <i>image</i>, comme indiqué <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\">ici</a>.
[18789]199La déclaration de format montre la vignette d\'image avec quelques méta-données
200(Tous les autres classificateurs auraient le même format, dÚs lors que la déclaration ne fait mention d\'aucun classificateur).
[18738]201
202<p>
[18789]203On peut se demander pourquoi la vignette d\'image est produite et stockée explicitement alors que le même effet serait obtenu en utilisant l\'image originale et en la dessinant à l\'échelle:
[18738]204
205<pre>
[18789]206&lt;td&gt;[link]&lt;img src=\'_httpassocdir_/[assocfilepath]\n
207/[Image]\' width=[ThumbWidth] height=[ThumbHeight]&gt;\n
208[/link]&lt;\/td&gt;&lt;td valign=middle&gt;&lt;i&gt;[Title]&lt;\/i&gt;&lt;\/td&gt;
[18738]209</pre>\n
210
211<p>
[18789]212La raison est que pour économiser de la bande passante, il est préférable d\'envoyer des images de petite taille.
[18738]213
214<p>
[18789]215Pour une collection d\'images plus complÚte, consulter
216<a href=\"http://www.nzdl.org/cgi-bin/library?a=p&p=about&c=aircraft\">Kiwi aircraft images</a>
217dans la bibliothÚque numérique de Nouvelle Zélande. La structure de cette collection est
218cependant tout à fait différente : c\'est une collection de pages web qui comprennent beaucoup
219d\'images avec du texte. Le plugin HTML, <i>HTMLPlugin</i> traite aussi des fichiers d\'images mais
220de maniÚre différente que ImagePlugin (par exemple, il ne produit pas la méta-donnée décrite
[19371]221ci-dessus).
[18738]222
223"
224
225# -- Spanish text ----------------
226collectionmeta collectionextra [l=es] "
227
[18789]228Esta es una colección de imágenes básicas sin texto ni ningún metadato explícito. Varios archivos JPEG se colocan en un directorio específico antes de importar y construir la colección. Eso es todo.
[18738]229<p>
[19371]230_text1_
[18738]231
232
233<h3>Cómo trabaja esta colección</h3>
234<p>
235
[19217]236He <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&d=_sampleoid_\">aquí</a> un documento muestra de la colección. El <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>archivo de configuración</a> no especifica ningún índice, por lo que el botón de búsqueda se suprime.
[18738]237<p>
238
[18789]239Sólo hay un plugin, <i>ImagePlugin</i>, además de los cuatro que siempre están presentes (<i>GreenstoneXMLPlugin, MetadataXMLPlugin, ArchivesInfPlugin, DirectoryPlugin</i>). <i>ImagePlugin</i> se basa en la existencia de dos programas de la suite ImageMagick (<a href=\"http://www.imagemagick.org\">http://www.imagemagick.org</a>): convertir e identificar. Greenstone no podrá construir correctamente la colección a menos que ImageMagick esté instalada en su computadora.
[18738]240<p>
241
[18789]242<i>ImagePlugin</i> crea automáticamente una reducción de cuadro y genera los siguientes metadatos para cada imagen de la colección:
[18738]243<p>
244
245<blockquote>
246<table border=0 cellspacing=0>
247<tr><td width=125 valign=top><i>Image</i></td><td> Nombre del archivo que contiene la imagen. <tr>\n
248<tr><td valign=top><i>ImageWidth</i></td><td> Ancho de la imagen (en pixeles). <tr>\n
249<tr><td valign=top><i>ImageHeight</i></td><td> Altura de la imagen (en pixeles). <tr>\n
[18789]250<tr><td valign=top><i>Thumb</i></td><td> Nombre del archivo gif que contiene la reducción de cuadro de la imagen. <tr>\n
[18738]251<tr><td valign=top><i>ThumbWidth</i></td><td> Ancho de la imagen reducida (en pixeles). <tr>\n
252<tr><td valign=top><i>ThumbHeight</i></td><td> Altura de la imagen reducida (en pixeles). <tr>\n
253<tr><td valign=top><i>thumbicon</i></td><td> Especificación del nombre de la ruta de acceso completo de la imagen reducida. <tr>\n
254<tr><td valign=top><i>assocfilepath</i></td><td> Nombre de la ruta de acceso del directorio de imágenes en el directorio asociado de la colección. <tr>\n
255</table>
256</blockquote>\n
257<p>
[18789]258La imagen se guarda como \"archivo asociado\" en el subdirectorio <i>asociado</i> del directorio <i>índice</i> de la colección. (<i>Índice</i> es el lugar donde todos los archivos necesarios para la colección se colocan con el fin de hacerlo independiente.) El nombre de la ruta de acceso <i>&#095;httpassocdir&#095;</i> es el mismo que <i>&#095;httpcollection&#095;/index/assoc</i> y remite a este directorio. Para cualquier documento tanto la reducción de cuadro como la imagen están en un subdirectorio cuyo nombre de archivo es dado por <i>assocfilepath</i>. El elemento de metadato <i>thumbicon</i> se pone en la especificación del nombre de la ruta de acceso completo de la imagen reducida y puede usarse de la misma manera que <i>srcicon</i> (véase la colección de muestra en MSWord y PDF).
[18738]259<p>
260
[19217]261El segundo enunciado de formato en el <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>archivo de configuración</a>, <i>DocumentText</i>, dicta la forma en que aparecerá el documento. <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&d=_sampleoid_\">Éste</a> es el resultado. No hay texto (en caso de que hubiera, se podría producir por medio de [<i>Text</i>]). Lo que se muestra es la pura imagen junto con algunos metadatos extraídos de ella.
[18738]262<p>
263
[19042]264El archivo de configuración especifica un clasificador, <i>List</i>, basado en el metadatos <i>Imágenes</i>, tal como se muestra <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\">aquí</a>. El enunciado de formato muestra la imagen reducida junto con algunos metadatos. (Cualquier otro clasificador tendría el mismo formato, ya que este enunciado no nombra al clasificador.)
[18738]265<p>
266
267Tal vez se preguntará por qué se genera y guarda la imagen reducida de manera explícita, cuando se podría obtener el mismo efecto usando la imagen original y escalándola:
268<p>
269
270<pre>
[18789]271&lt;td&gt;[link]&lt;img src=\'_httpassocdir_/[assocfilepath]\n
272/[Image]\' width=[ThumbWidth] height=[ThumbHeight]&gt;\n
273[/link]&lt;\/td&gt;&lt;td valign=middle&gt;&lt;i&gt;[Title]&lt;\/i&gt;&lt;\/td&gt;
[18738]274</pre>\n
275
276<p>
277
[18789]278La razón es que de esta manera se ahorra ancho de banda en la comunicación al no enviar imágenes de gran tamaño cuando se pueden enviar pequeñas.
[18738]279<p>
280
[19371]281Para conocer una colección de imágenes más completa, consulte la <a href=\"http://www.nzdl.org/cgi-bin/library?a=p&p=about&c=aircraft\">kiwi aircraft images</a> de la Biblioteca Digital de Nueva Zelanda. Sin embargo, la estructura de esta colección es muy diferente. Se trata de una colección de páginas Web que incluye muchas imágenes junto con el texto. El plugin <i>HTMLPlugin</i> también procesa archivos de imágenes, pero lo hace de manera diferente a ImagePlugin (por ejemplo, no produce los metadatos descritos arriba).
[18738]282<p>
283"
284
285# -- Russian text ----------------
286collectionmeta collectionextra [l=ru] "
287ЭтП ПсМПвМая кПллекцОя ОзПбражеМОй, кПтПрая Ме сПЎержОт МОкакПгП текста О МОкакОх
288 явМых
[19371]289 ЌетаЎаММых
[18738]290. НескПлькП JPEG-файлПв пПЌещеМы в ЎОректПрОю ОЌпПрта ЎП ОЌпПртОрПваМОя О пПстрПеМОя кПллекцОО. И этП все.
291<p>
292_text1_
293
294
[19217]295<h3>Как рабПтает кПллекцОя</h3>
[18738]296<p>
297
[18789]298<a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&d=_sampleoid_\">ЗЎесь</a> преЎставлеМ тОпПвПй ЎПкуЌеМт кПллекцОО. <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>КПМфОгурацОПММый файл</a> Ме ПпреЎеляет МОкакОх
[18738]299 ОМЎексПв, так чтП кМПпка пПОска пПЎавлеМа.
300<p>
[18789]301
[18738]302ИЌеется тПлькП ПЎОМ плагОМ <i>ImagePlugin</i>, пПЌОЌП 4, кПтПрые прОсутствуют всегЎа (<i>GreenstoneXMLPlugin</i>, <i>MetadataXMLPlugin</i>, <i>ArchivesInfPlugin</i>, <i>DirectoryPlugin</i>). <i>ImagePlugin</i> пПлагается Ма существПваМОе Ўвух
303 прПграЌЌ Оз МабПра ImageMagick (<a href=\"http://www.imagemagick.org\">http://www.imagemagick.org</a>) - <i>convert</i> О <i>identify</i>. Greenstone Ме сЌПжет стрПОть кПллекцОО правОльМП, еслО ImageMagick Ме устаМПвлеМ Ма вашеЌ кПЌпьютере.
304<p>
305
306<i>ImagePlugin</i> автПЌатОческО геМерОрует слеЎующОе ЌетаЎаММые Ўля кажЎПгП ОзПбражеМОя в кПллекцОО:
307<p>
308
309<blockquote>
310<table border=0 cellspacing=0>
311<tr>
312<td width=125 valign=top><i>Image</i></td>
313<td>
[18789]314ИЌя файла, сПЎержащегП ОзПбражеМОе
[18738]315</td></tr>
316<tr><td valign=top><i>ImageWidth</i></td>
317<td>
318КОрОМа ОзПбражеМОя (в пОкселах
319)
320</td></tr>
321<tr><td valign=top><i>ImageHeight</i></td>
322<td>
323ВысПта ОзПбражеМОя (в пОкселах
324)
325</td></tr>
326<tr><td valign=top><i>Thumb</i></td>
327<td>
328ИЌя файла фПрЌата ПбЌеМа графОческОЌ ЎаММыЌО, сПЎержащегП уЌеМьшеММПе ОзПбражеМОе
329</td></tr>
330<tr><td valign=top><i>ThumbWidth</i></td>
331<td>
332КОрОМа уЌеМьшеММПгП ОзПбражеМОя (в пОкселах
333)
334</td></tr>
335<tr><td valign=top><i>ThumbHeight</i></td>
336<td>
337ВысПта уЌеМьшеММПгП ОзПбражеМОя (в пОкселах
338)
[18789]339</td></tr>
[18738]340<tr><td valign=top><i>Thumbicon</i></td>
341<td>
[18789]342ППлМПе ПпОсаМОе путО к уЌеМьшеММПЌу ОзПбражеМОю
[18738]343</td></tr>
344<tr><td valign=top><i>assocfilepath</i></td>
[19217]345<td>
[18738]346ИЌя путО к пПЎЎОректПрОО ОзПбражеМОй в ЎОректПрОО кПллекцОО <i>assoc</i>
347</td></tr></table>
[19371]348</blockquote>
[18738]349<p>
350
351ИзПбражеМОе сПх
352раМОтся как «связаММый файл» в пПЎЎОректПрОО <i>assoc</i> ЎОректПрОО кПллекцОО <i>index</i>. Index -- этП ЎОректПрОя, куЎа все файлы, МеПбх
353ПЎОЌые Ўля ПбслужОваМОя кПллекцОО, пПЌещеМы, чтПбы ПМа была автПМПЌМПй. ДОректПрОя <i>httpassocdir</i>, кПтПрая является тПй же саЌПй, чтП О <i>&#095httpcollection&#095/index/assoc</i>, Пбращается к этПй ЎОректПрОО. Для любПгП ЎПкуЌеМта уЌеМьшеММПе О пПлМПе ОзПбражеМОе Мах
[18789]354ПЎятся в пПЎЎОректПрОО, ОЌя кПтПрПй ПпреЎеляется <i>assocfilepath</i>. МетаЎаММые элеЌеМта <i>thumbicon</i> Ўают пПлМПе ПпОсаМОе путО к уЌеМьшеММПЌу ОзПбражеМОю О ЌПгут ОспПльзПваться теЌ же саЌыЌ ПбразПЌ, чтП О <i>srcicon</i> (сЌ. ЎеЌПМстрацОПММые кПллекцОО MS Word О PDF).
355<p>
356
[18738]357ВтПрПй ПператПр фПрЌата в кПМфОгурацОПММПЌ файле, <i>DocumentText</i>, ПпреЎеляет, как элеЌеМт пПявляется, О <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&d=_sampleoid_\">этПт прОЌер</a> является результатПЌ. Текст ЎПкуЌеМта Птсутствует (еслО бы ПМ был, тП ПМ бы прПОзвПЎОлся [ТекстПЌ] [Text]. ТП, чтП пПказаМП, является МепПсреЎствеММП ОзПбражеМОеЌ вЌесте с МекПтПрыЌО ЌетаЎаММыЌО, ОзвлечеММыЌО Оз МегП.
358<p>
359
360КПМфОгурацОПММый файл ПпреЎеляет ПЎОМ классОфОкатПр -- <i>List</i>, ПсМПваММый Ма ЌетаЎаММых
361 <i>Image</i>, кПтПрый пПказаМ <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\">зЎесь</a>. ОператПр фПрЌата пПказывает уЌеМьшеММПе ОзПбражеМОе вЌесте с МекПтПрыЌО ЌетаЎаММыЌО (любые ЎругОе классОфОкатПры ОЌелО бы тПт же саЌый фПрЌат, так как этПт ПператПр Ме Мазывает классОфОкатПр).
[19371]362<p>
[18738]363
364Вы ЌПжете спрПсОть, пПчеЌу уЌеМьшеММПе ОзПбражеМОе геМерОруется О сПх
365раМяется явМП, кПгЎа тПт же саЌый эффект ЌПг бы быть пПлучеМ прО ОспПльзПваМОО ПрОгОМальМПгП ОзПбражеМОя О ЌасштабОрПваМОО егП:
366<br>
367<pre>
368&lt;td&gt;[link]&lt;img src=\'_httpassocdir_/[assocfilepath]\n
369/[Image]\' width=[ThumbWidth] height=[ThumbHeight]&gt;\n
370[/link]&lt;\/td&gt;&lt;td valign=middle&gt;&lt;i&gt;[Title]&lt;\/i&gt;&lt;\/td&gt;
371</pre>\n
372
373ПрОчОМа сПстПОт в тПЌ, чтПбы сПх
374раМОть пПлПсу прПпускаМОя связО, Ме пПсылая бПльшОе ОзПбражеМОя, кПгЎа ЌалеМькОе Ўелают тП же.
375<p>
376
377БПлее Осчерпывающую кПллекцОю ОзПбражеМОй сЌПтрОте в <a href=\"http://www.nzdl.org/cgi-bin/library?a=p&p=about&c=aircraft\">kiwi aircraft images</a> в НПвПзелаМЎскПй ЊОфрПвПй БОблОПтеке. Структура этПй кПллекцОО весьЌа ПтлОчается, пПскПльку этП О кПллекцОя Web-страМОц, кПтПрая включает ЌМПгП ОзПбражеМОй МаряЎу с текстПЌ. ПлагОМ <i>HTMLPlugin</i> также Пбрабатывает файлы ОзПбражеМОй, МП Ўелает этП так ЎругОЌ спПсПбПЌ, чеЌ ImagePlugin (МпрОЌер, ПМ Ме геМерОрует ЌетаЎаММые, ПпОсаММые выше).
378<p>
379"
Note: See TracBrowser for help on using the repository browser.