Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (43 sloc) 1.39 KB
__NAME__ purpose
allow delivery of images through Interchange
__NAME__ synopsis
<group choice='plain'>
<arg choice='plain'>No</arg>
<arg choice='plain'>Yes</arg>
__NAME__ description
The directive specifies whether images can be fetched directly over
the &glos-link-program;.
If the requested file is present and the MimeType for the file's
extension begins with <literal>image/</literal>, the path will be adjusted
to add &conf-ImageDir; or &conf-ImageDirSecure;, and a
<ulink url="">status 302</ulink>
("Moved temporarily") issued. At that point, the image should
be visible on users' screens.
This whole thing happens before database or session opens, and is quite fast.
<varname>$Vend::tmp_session</varname> is set so no cookie is issued.
__NAME__ notes
This feature was introduced to help cope with the unpleasant behavior
of the Mozilla HTML editor.
__NAME__ author
__NAME__ example: Enabling DeliverImage
Put the following in &ccf;:
DeliverImage Yes
Now to request an image, instead of the usual page (such as
<literal>index.html</literal>), ask &IC; for say,
<literal>interchange.png</literal> (given that the file is present in
&conf-ImageDir; or &conf-ImageDirSecure;, of course).
__NAME__ missing
Better description
Something went wrong with that request. Please try again.