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
I promise I have checked the various threads and every solution doesn't work for me.
I have a Partial View With Macro. That macro has an media picker to select an image. For the life of me I cannot get the url to work.
Code:
var image = Model.MacroParameters["macroBioPhotograph"] as IPublishedContent; var imageUrl = image.Url();
What am I doing wrong?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Image URL derived from Macro Parameter
I promise I have checked the various threads and every solution doesn't work for me.
I have a Partial View With Macro. That macro has an media picker to select an image. For the life of me I cannot get the url to work.
Code:
var image = Model.MacroParameters["macroBioPhotograph"] as IPublishedContent; var imageUrl = image.Url();
What am I doing wrong?
is working on a reply...