rss_converter_instagram.com.xsl: make images adapt to the viewer width
[tweeper.git] / rss_converter_instagram.com.xsl
index 7799a6e..633c8ef 100644 (file)
@@ -89,7 +89,7 @@
                     </xsl:if>
                     <xsl:value-of select="$item-content-caption"/>
                 </p><br />
-                <a href="{$item-permalink}"><img src="{$item-content-image}" /></a>
+                <a href="{$item-permalink}"><img src="{$item-content-image}" style="max-width: 100%"/></a>
                 <xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
             </description>
             <xsl:if test="$generate-enclosure = 1">