Name

ImageDir — specify base location for all image files

SYNOPSIS

location

DESCRIPTION

ImageDir is one of quite basic settings in every catalog.cfg.

The directive specifies a base location, accessible over the web, where Interchange should look for image files, when just relative image filename is given. Automatically "translated" are image locations mentioned in <img src="">, <input src="">, <body background="">, <table background=""> and table subelements (<th>, <tr> and <td>).

A setting of ImageDir /images/ and a specification of <img src="test/test.png"> would be translated to <img src="/images/test/test.png">.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Setting ImageDir

ImageDir /images/

Example: Setting ImageDir using full URL specification

ImageDir http://images.mydomain.local/images/

NOTES

AVAILABILITY

ImageDir is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 631

['ImageDir',      undef,            ''],

AUTHORS

Interchange Development Group

SEE ALSO

ImageDirSecure(7ic), no_image_rewrite(7ic), ImageAlias(7ic), VendURL(7ic), SecureURL(7ic)

DocBook! Interchange!