From 3259be74b39f2fd06918ae28b578d921eef5e54c Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Fri, 7 Nov 2014 17:22:59 -0800 Subject: [PATCH] Fixing vector graphic element template. --- .../Orchard.Layouts/Views/Element-Media-VectorGraphic.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orchard.Web/Modules/Orchard.Layouts/Views/Element-Media-VectorGraphic.cshtml b/src/Orchard.Web/Modules/Orchard.Layouts/Views/Element-Media-VectorGraphic.cshtml index 9e208b087..343bea602 100644 --- a/src/Orchard.Web/Modules/Orchard.Layouts/Views/Element-Media-VectorGraphic.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Layouts/Views/Element-Media-VectorGraphic.cshtml @@ -4,7 +4,7 @@ @using Orchard.MediaLibrary.Models @{ var tagBuilder = (OrchardTagBuilder)TagBuilderExtensions.AddCommonElementAttributes(new OrchardTagBuilder("img"), Model); - var vectorGraphicPart = (VectorGraphicPart)Model.ImagePart; + var vectorGraphicPart = (VectorGraphicPart)Model.VectorGraphicPart; var mediaPart = vectorGraphicPart != null ? vectorGraphicPart.As() : default(MediaPart); if (mediaPart != null) {