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
Any ways of making this work recursive in my template?
@if(Model.Content.HasValue("kologo")){ var mediaItem = Umbraco.TypedMedia(Model.Content.GetPropertyValue("kologo")); <img src="@mediaItem.GetPropertyValue("umbracoFile")" alt="@mediaItem.GetPropertyValue("Name")"/> }
Hi Brian,
Yes and it's wonderfully easy:
@if (Model.Content.HasValue("kologo", true)) { var mediaItem = Umbraco.TypedMedia(Model.Content.GetPropertyValue("kologo", true)); <img src="@mediaItem.GetPropertyValue("umbracoFile")" alt="@mediaItem.GetPropertyValue("Name")" /> }
Jeavon
I was on the right track - always good to know :)
Thanks (again)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Making it recursive?
Any ways of making this work recursive in my template?
Hi Brian,
Yes and it's wonderfully easy:
Jeavon
I was on the right track - always good to know :)
Thanks (again)
is working on a reply...