Advertisement
Guest User

errorimage

a guest
Mar 6th, 2015
220
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <xsl:when test="./data [@alias = 'image'] != ''">
  2.  
  3.     <xsl:variable name="articlePhoto" select="umbraco.library:GetMedia(./data [@alias = 'articlePhoto'], 0)" />
  4.     <div class="col-md-3">
  5.      <img src="{$articlePhoto/data [@alias = 'umbracoFile']}" />
  6.         </div>
  7. </xsl:when>
  8.  
  9. <xsl:otherwise>
  10.     <div class="col-md-3">
  11.     <img  src="/media/1026/fake-logo.jpg" alt="{@nodeName}" style = "display:inline;width:230px;height:100px;" />
  12.     </div>
  13. </xsl:otherwise>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement