Copied to clipboard

Flag this post as spam?

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


  • Fernando Benitez 12 posts 32 karma points
    Nov 19, 2010 @ 06:25
    Fernando Benitez
    0

    Images in News Page not loaded

    Hello Everybody...

    I have the big problem, i loaded the BWSP, When I load image for the news in the NewsArea, the image does not load, watching more, I realized that the configuration is xlts file called NewsImage, I wonder if anyone can help me I do not see why the image is loading, observing in the firebug, I think it is charging correctly the source of the image, below is the code thousand thanks to those who can help.

     

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "&#x00A0;"> ]>
    <xsl:stylesheet 
      version="1.0" 
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
      xmlns:msxml="urn:schemas-microsoft-com:xslt"
      xmlns:umbraco.library="urn:umbraco.library"
      exclude-result-prefixes="msxml umbraco.library">


    <xsl:output method="xml" omit-xml-declaration="yes"/>

    <xsl:param name="currentPage"/>

    <xsl:template match="/">



      <xsl:if test="$currentPage/newsImage != ''"
                <img alt="{$currentPage/@nodeName}" class="news_image">
                  <xsl:attribute name="src">

                    <xsl:value-of select="umbraco.library:GetMedia($currentPage/newsImage, false() )/imagenes/noticias/umbracoFile" /> 
                  </xsl:attribute>  
                </img>
             </xsl:if>

    </xsl:template>

    </xsl:stylesheet>

  • Fernando Benitez 12 posts 32 karma points
    Nov 19, 2010 @ 07:27
Please Sign in or register to post replies

Write your reply to:

Draft