Add Title for Images

This commit is contained in:
Lukas Erni 2021-01-11 14:14:44 +01:00
parent 56b25a424f
commit 1d535ade02
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@
<% if $ImagesForSitemap %><% loop $ImagesForSitemap %>
<image:image>
<image:loc>{$AbsoluteLink}</image:loc>
<image:title>{$Title}</image:title>
</image:image>
<% end_loop %><% end_if %>
</url>

View File

@ -57,6 +57,7 @@
<img src="{\$imageURL}" width="40px"/>
</td>
<td>
<xsl:value-of select="image:title"/><br/>
<a href="{\$imageURL}">
<xsl:value-of select="image:loc"/>
</a>