<xsl:template match="//edges/node">
<xsl:variable name="item-content-image" select="./display_url"/>
- <xsl:variable name="item-content-image-data" select="php:functionString('Tweeper\Tweeper::generateDataURL', $item-content-image)"/>
<xsl:variable name="item-content-caption" select="./edge_media_to_caption/edges/node/text"/>
<xsl:variable name="item-permalink" select="concat($BaseURL, '/p/', ./shortcode, '/')"/>
<item>
<xsl:value-of select="$item-content-caption"/>
</p><br />
<xsl:if test="$show-multimedia = 1">
- <a href="{$item-permalink}"><img src="{$item-content-image-data}" style="max-width: 100%"/></a>
+ <a href="{$item-permalink}"><img src="{$item-content-image}" style="max-width: 100%"/></a>
</xsl:if>
<xsl:text disable-output-escaping="yes">]]></xsl:text>
</description>