Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <xsl:when test="./data [@alias = 'image'] != ''">
- <xsl:variable name="articlePhoto" select="umbraco.library:GetMedia(./data [@alias = 'articlePhoto'], 0)" />
- <div class="col-md-3">
- <img src="{$articlePhoto/data [@alias = 'umbracoFile']}" />
- </div>
- </xsl:when>
- <xsl:otherwise>
- <div class="col-md-3">
- <img src="/media/1026/fake-logo.jpg" alt="{@nodeName}" style = "display:inline;width:230px;height:100px;" />
- </div>
- </xsl:otherwise>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement