Hello,
I am having issue with media picker. it is not displaying the images. Please find code below :
@foreach(var album in CurrentPage.Descendants("album"))
{
if(album.HasValue("pickAnAlbum"))
{
var typedMultiMediaPicker = album.Content.GetPropertyValue<IEnumerable<IPublishedContent>>("pickAnAlbum");
foreach (var item in typedMultiMediaPicker)
{
<img src="@item.Url" style="width:200px"/>
}
}}
Can someone please help with the above.
Thanks,
kusum