8. info file tags

info files are used to provide information about pictures in gallery. fpgg tries to find info file in each directory with pictures. info file does not have to include information about every picture -- if no information is not given, corresponging template tag will remain empty.

All options in info file except text begin with tag name, followed by a colon (:), a space, and value. (E.g. title: Example picture.) Value must fit in one line, which can be abritary long. Each picture entry must begin with a file option, and end with an empty line, or end of file.

file

Each picture entry must begin with this option. The value of this option is simply the name of the file, which must be in the same directory as info file or it has no effect.

title

Title for a picture.

category

Lists picture categories, separated with commas (,). Category name may contain any characters except a comma.

map

Link to online map.

map-ap

Link to aproximate online map.

coords

Coordinates of photograph location, separated with comma. Latitude and longitude can be given in degrees, minutes, and second, or as degree and its fraction. If latitude/longitude is given in degrees, minutes and seconds, space ( ), dash (-), underscore (_), and slash (/) can be used as delimiter. Decimals and minutes/seconds can be mixed, e.g. it is possible to have 12.3 seconds. If longitude/latitude is not followed by direction indicator (i.e. N, E, S, or W), positive longitude is assumed to be to East, and positible latitude to North. Also, the first unlabeled value is assumed to be latitude. If defined, third value defines picture detail. For example if detail is set to 100, fpgg assumes map should show area at least 100 metres in one direction. Unit of detail level is currently ignored and assumed to be in metres. Following entries give identical results except for detail level.

  • 12.5 N, 34.25 E

  • 12 30 N, 35-15 S

  • 12_30, 35/15

  • 12.5 E, 34.25, 100

  • 12.5 E, 34.25, 100 M

text

Full (X)HTML formatted description. Unlike other options, text can be more than just one line. Description is then ended with an empty line, which also ends currect file entry, and as such, text should always come last after other options.