<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>img.src.path</title><link rel="stylesheet" type="text/css" href="../reference.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference Documentation"><link rel="up" href="graphics.html" title="Graphics"><link rel="prev" href="graphics.html" title="Graphics"><link rel="next" href="keep.relative.image.uris.html" title="keep.relative.image.uris"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">img.src.path</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="graphics.html">Prev</a> </td><th width="60%" align="center">Graphics</th><td width="20%" align="right"> <a accesskey="n" href="keep.relative.image.uris.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="img.src.path"></a><div class="titlepage"></div> <div class="refnamediv"><h2><span class="refentrytitle">img.src.path</span></h2><p> img.src.path — Path to HTML/FO image files </p></div> <div class="refsynopsisdiv"><h2>Synopsis</h2> <a name="img.src.path.frag"></a><pre class="programlisting"><xsl:param name="img.src.path"></xsl:param></pre> </div> <div class="refsection"><a name="idp2219408"></a><h2>Description</h2> <p>Add a path prefix to the value of the <code class="sgmltag-attribute">fileref</code> attribute of <code class="sgmltag-element">graphic</code>, <code class="sgmltag-element">inlinegraphic</code>, and <a href="http://docbook.org/tdg5/en/html/imagedata.html"><code class="sgmltag-element">imagedata</code></a> elements. The resulting compound path is used in the output as the value of the <code class="sgmltag-attribute">src</code> attribute of <code class="sgmltag-element">img</code> (HTML) or <code class="sgmltag-element">external-graphic</code> (FO). </p> <p> The path given by <code class="literal">img.src.path</code> could be relative to the directory where the HTML/FO files are created, or it could be an absolute URI. The default value is empty. Be sure to include a trailing slash if needed. </p> <p>This prefix is not applied to any filerefs that start with "/" or contain "//:". </p> </div> </div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="graphics.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="graphics.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="keep.relative.image.uris.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Graphics </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> keep.relative.image.uris</td></tr></table></div></body></html>