Advertisement
Guest User

Untitled

a guest
Jan 5th, 2013
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. <umbraco:Item field="image" useIfEmpty="image" textIfEmpty="/css/images/dog.jpg" runat="server" />
  2.  
  3. <div class="imgbox">
  4. <xsl:variable name="image" select="$post/image"/>
  5.  
  6.  
  7. <img src="/css/images/dog.jpg" alt="" />
  8. </div>
  9.  
  10. <img src="{$post/image}" alt="" />
  11.  
  12. <xsl:variable name="media" select="umbraco.library:GetMedia($post/image, false)" />
  13. <img src="{$media/umbracoFile}" alt="" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement