Name

ImageAlias — specify alias location for all image files

SYNOPSIS

alias_location real_location

DESCRIPTION

The directive specifies an alias for the base images location, which is set by ImageDir and related directives.

It is similar in effect to the "alias" feature of Web servers such as Apache or NCSA, and applies to <body background=, table elements background= and all src= specifications.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Setting ImageAlias

ImageAlias /images/ /tutorial/tutorial-images/

NOTES

AVAILABILITY

ImageAlias is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Config.pm
Line 622

['ImageAlias',      'hash',            ''],

Source: lib/Vend/Config.pm
Line 3181 (context shows lines 3181-3198)

sub parse_hash {
my($item,$settings) = @_;
if (! $settings) {
  return $HashDefaultBlank{$item} ? '' : {};
}

my $c;

if(defined $C) {
  $c = $C->{$item} || {};
}
else {
  no strict 'refs';
  $c = ${"Global::$item"} || {};
}

return hash_string($settings,$c);
}

AUTHORS

Interchange Development Group

SEE ALSO

ImageDirSecure(7ic), no_image_rewrite(7ic), ImageDir(7ic)

DocBook! Interchange!