Have a Media Picker on my document type: karoItem
Alias: testBillede
How du i get the image in this bit of code?
@{var karo = CurrentPage.karoRep.First().karoItem.Where("Visible");}
@foreach (var items in karo)
{
<li>
<div class="prod_holder"> <a href="#"> <img src=[image from Media Picker] alt=""> </a>
<h3>@items.underskrift </h3>
</div>
<span class="pricetag">@items.overtekst</span>
</li>
}
The code loops ok - but I don't get the image.
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/46730-image-from-media-picker