cergey-obr
11/6/2014 - 9:47 AM

Создание превьюшки

Создание превьюшки

<xsl:template name="thumbnail">
	<xsl:param name="path" />
	<xsl:param name="width" select="'auto'" />
	<xsl:param name="height" select="'auto'" />
	<xsl:if test="$path">
		<xsl:value-of select="document(concat('udata://system/makeThumbnailFull/(.', $path,')/', $width,'/', $height,'/notemplate/0/1/5/0/100'))//src" />
	</xsl:if>
</xsl:template>