Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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.
Thanks for the clarification
is working on a reply...