Can't get Media or Single Picker Value in Macro just umb media & umb document value
I'm sure it's a simple solution but with little Macro documentation on version 8, I'm stuck in a rutt! Any suggestions would be gratefully received. I can only get the umb document values and umb media value.
@inherits Umbraco.Web.Macros.PartialViewMacroPage
@{
var image = Model.MacroParameters["image"].ToString();
var iUrl = Model.MacroParameters["internalUrl"].ToString();
}
<a href="@iUrl"><img class="img-responsive" style="width:100%" src="@image" /></a>
Can't get Media or Single Picker Value in Macro just umb media & umb document value
I'm sure it's a simple solution but with little Macro documentation on version 8, I'm stuck in a rutt! Any suggestions would be gratefully received. I can only get the umb document values and umb media value.
;)
Sorted :)
is working on a reply...