Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Pete 152 posts 176 karma points
    Aug 02, 2010 @ 11:17
    Pete
    0

    Where's the documentation on the XSLT for outputting image cropper files?

    I've spotted a couple of broken links in previous posts but can't find the documentation. 

  • wolulcmit 357 posts 693 karma points
    Aug 02, 2010 @ 12:25
    wolulcmit
    0

    this post should solve your isse (hopefully)
    http://our.umbraco.org/forum/developers/xslt/6845-Help-with-XSLT-and-image-thumbnails

    something like this should help too:

    <xsl:variable name="pic" select="umbraco.library:GetMedia($img1, 
    'true')/umbracoFile" />
    <img>
    <
    xsl:attribute name="src"><xsl:value-of select="concat(substring-before($pic,'.'),'_square320.',substring-after($pic,'.'))" /></xsl:attribute>
    </img>

     

  • Pete 152 posts 176 karma points
    Aug 02, 2010 @ 13:25
    Pete
    0

    Nice one, cheers!

Please Sign in or register to post replies

Write your reply to:

Draft