I have added a Digibiz Advanced Media Picker to a doc type and added 2 images to the page. I can't quite work out how to list the images with Razor, any advice welcome. Here is some of the XML.
I have written this Razor do far. But I also want to check if there are any images selected at all, as I don't want to output the div with id="rightCol" if there are no images.
List Images from DAMP media picker using Razor
Hello,
I have added a Digibiz Advanced Media Picker to a doc type and added 2 images to the page. I can't quite work out how to list the images with Razor, any advice welcome. Here is some of the XML.
I have written this Razor do far. But I also want to check if there are any images selected at all, as I don't want to output the div with id="rightCol" if there are no images.
Many Thanks.
I worked it out. removed .Children from the foreach loop.
is working on a reply...