summaryrefslogtreecommitdiffstats
path: root/xslt/tellico-printing.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/tellico-printing.xsl')
-rw-r--r--xslt/tellico-printing.xsl5
1 files changed, 4 insertions, 1 deletions
diff --git a/xslt/tellico-printing.xsl b/xslt/tellico-printing.xsl
index 9d997fd..4c31ecc 100644
--- a/xslt/tellico-printing.xsl
+++ b/xslt/tellico-printing.xsl
@@ -329,7 +329,10 @@
</xsl:attribute>
<img>
<xsl:attribute name="src">
- <xsl:value-of select="concat($imgdir, .)"/>
+ <xsl:call-template name="image-link">
+ <xsl:with-param name="image" select="key('imagesById', .)"/>
+ <xsl:with-param name="dir" select="$imgdir"/>
+ </xsl:call-template>
</xsl:attribute>
<xsl:call-template name="image-size">
<xsl:with-param name="limit-width" select="$image-width"/>