Hi all,I have been looking for a simple example of how to create a macro with image parameters, and to display those images in a razor view. The purpose is for a side-rail submission control, and we want to be able to parameterize the background and a button.I've found plenty of almost-what-I-needs, but nothing that really gets me what I need. We want our users to be able to select a macro from the macro container, specify media images as parameters for the background and image button, and render it in a razor view, NOT XSLT (which, xslt examples abound, razor examples not so much).
Media Picker Image in Razor
Hi all,I have been looking for a simple example of how to create a macro with image parameters, and to display those images in a razor view. The purpose is for a side-rail submission control, and we want to be able to parameterize the background and a button.I've found plenty of almost-what-I-needs, but nothing that really gets me what I need. We want our users to be able to select a macro from the macro container, specify media images as parameters for the background and image button, and render it in a razor view, NOT XSLT (which, xslt examples abound, razor examples not so much).
Hi Jonathan,
Do you have a example in XSLT of what you are looking for so that we can direct you to similar Razor.
Also are you using Mvc?
Jeavon
is working on a reply...