tobbbe
10/24/2013 - 11:08 AM

img, gallery, pics, mutli node picker, bildspel

img, gallery, pics, mutli node picker, bildspel


@if (CurrentPage.HasValue("imageGallery"))
  {
      <div class="slides">
          @foreach (var slideid in Model.Content.GetPropertyValue("sliderimages").ToString().Split(","))
          {
            var image = Umbraco.Media(slideid);
            
            <img src="image.Url" alt="image.Name" />
          }
      </div>
  }