Copied to clipboard

Flag this post as spam?

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

  • trfletch 595 posts 571 karma points
    Sep 16, 2010 @ 15:50

    Highslide image XSLT macro not rendering in Rich Text Editor

    Hi All,

    I have a website running 4.5.2 (using the old XSLT schema). I have created the following XSLT to display highslide images ( on the website. I want the user to be able to insert the macro into the rich text editor then they select the full size image and thumbnail image (I am using mediaCurrent macro property to select these images). This is all working fine except for in the richtext editor it is displaying:

    No macro content available for WYSIWYG editing

    I'm not expecting it to have highslide fully working within the Rich Text Editor but I would at least like it to display the thumbnail so they can position it and get a feel for what it is going to look like. Is there some way I can force the rich text editor to display the thumbnail rather than the text above? Also why is it not rendering the macro in the first place, it's not exactly a complicated piece of code. This is my XSLT:

    <xsl:param name="currentPage"/>

    <xsl:variable name="largeImage" select="/macro/largeImage/node"/>
    <xsl:variable name="thumbnailImage" select="/macro/thumbnailImage/node"/>

    <xsl:template match="/">

    <a class="highslide" onclick="return hs.expand(this)">
    <xsl:attribute name="href">
     <xsl:value-of select="$largeImage/data[@alias='umbracoFile']" />
    <xsl:attribute name="src">
     <xsl:value-of select="$thumbnailImage/data[@alias='umbracoFile']" />
    <xsl:attribute name="alt">
     <xsl:value-of select="$thumbnailImage/@nodeName" />
  • trfletch 595 posts 571 karma points
    Sep 16, 2010 @ 16:37

    Ok after searching around it seems my issue may be a bug with Umbraco that is explained in the following post:

    I see that there is a patch on Codeplex, number 6267, I have downloaded the macro.cs file from Codeplex but I'm not sure where I put it? Can anyone help me with this one?


Please Sign in or register to post replies

Write your reply to: