Quantcast
Channel: ActiveTopics
Viewing all articles
Browse latest Browse all 72689

Media picker

$
0
0

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


Viewing all articles
Browse latest Browse all 72689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>