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 want to use a custom property called displayName for the name that is displayed in the list of selected media items, instead of the nodeName. Is there a way to change this?
Jeremy
I have the same issue. I want to add additional custom properties on the media type and output them in the foreach-loop. Did you find a solution?
Thanks a lot.
Nora
Hello,
This is currently not possible, but you could modify the DAMP source to support this.
Jeroen
Hello again,
I've found a solution:
@if(Model.dampPropertyAlias.Count > 0){ <ul> foreach (dynamic d in Model.dampPropertyAlias){ <li> <img src="@d.Url" alt="@d.Alt"> <div class="newImageProperty"> @if(d.DynamicMedia.HasProperty("ImagePropertyAlias")) { <p>@d.DynamicMedia.GetPropertyValue("ImagePropertyAlias", false)</p> } </div> </li> } </ul> }
Hope this helps.
Kind regards,
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Using a custom property for MediaName in the selected media items list
I want to use a custom property called displayName for the name that is displayed in the list of selected media items, instead of the nodeName. Is there a way to change this?
Jeremy
I have the same issue. I want to add additional custom properties on the media type and output them in the foreach-loop. Did you find a solution?
Thanks a lot.
Nora
Hello,
This is currently not possible, but you could modify the DAMP source to support this.
Jeroen
Hello again,
I've found a solution:
Hope this helps.
Kind regards,
Nora
is working on a reply...