| # Using Properties Files Users may add custom labels, comments and keywords for each image in a folder. Each uses a general 'properties' file to hold relevant information, which replaces defaults found in the image files. A 'properties' file has the following format: filename1=value1 filename2=value2 filename3=value3 filenameN=valueN ...where filename1, filename2, et cetera, are the filenames of the images referenced. For example, if a folder contained the files theoldmill.jpg, neworleans.jpg, and funnysymbol.gif, the props file might look like... theoldmill.jpg=value1 neworleans.jpg=value2 funnysymbol.gif=value3 Not every image has to be on the lists in these files. The ones that aren't listed, use the default value for whatever the list references (see below). The props files are: labels.properties A value in this file replaces the default $label. e.g. theoldmill.jpg=The Old Mill comments.properties A value in this file replaces $comments. e.g. theoldmill.jpg=A broken down old mill I discovered while touring the U.S.A. in 2003. nb: the above example has been reformatted for clarity keywords.properties A value in this file defines a series of keywords for that image. Keywords are used with HTML metatags and should follow the format... keyword1, keyword2, keyword3,... ...keywordN Keywords defined in the user interface or defined in meta.properties files are added to keywords defined for images. e.g. theoldmill.jpg=Missouri, Holiday, tourist, buildings |
| Back to General Notes |