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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.