Copied to clipboard

Flag this post as spam?

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


  • Anton 36 posts 67 karma points
    Jun 07, 2012 @ 03:59
    Anton
    0

    Strange behavior with Umbraco.GetMediaUrl

    Hi,

    Are there any differences using the two methods below to render an image in V5?  The first line works fine but not the 2nd?  The overload clearly states that a string of idOrPropertyAlias is acceptable.

     

    <img src="@Umbraco.GetMediaUrl(CurrentPage.gallery)" />
    <img src="@Umbraco.GetMediaUrl("gallery")" />

     

    Thanks for the clarification

     

Please Sign in or register to post replies

Write your reply to:

Draft