From: Antonio Ospite <ao2@ao2.it> Date: Fri, 20 May 2016 16:05:29 +0000 (+0200) Subject: rss_converter_instagram.com.xsl: make images adapt to the viewer width X-Git-Tag: v0.6~13 X-Git-Url: https://git.ao2.it/tweeper.git/commitdiff_plain/59452f8e57b7b985901fed3585a546d7d8d0919a?ds=inline;hp=3b1e1c0b5f47e564451639e4b775e3be5b5a6597 rss_converter_instagram.com.xsl: make images adapt to the viewer width This way the user does not have to scroll horizontally to see the whole picture. --- diff --git a/rss_converter_instagram.com.xsl b/rss_converter_instagram.com.xsl index 7799a6e..633c8ef 100644 --- a/rss_converter_instagram.com.xsl +++ b/rss_converter_instagram.com.xsl @@ -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">]]></xsl:text> </description> <xsl:if test="$generate-enclosure = 1">