Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • JorgeV 2 posts 22 karma points
    Feb 08, 2015 @ 02:50
    JorgeV
    0

    How to add an image to excerpt property

    Hi,

    I've been using Articulate and Umbraco for some days now, but I'm having problems trying to add an image to the excerpt property so I can use it as a preview of the blog posts. It gets added fine to the body property (it's IHtmlString). I tried some workarounds using macros with Umbraco.RenderMacro(string alias) but it keep rendering in the output as "<Macro: (,)>". Also changing the excerpt property type to richtext editor keep showing the html tags of the image. 

    Any ideas how can I make it work?

    Thanks :D

  • Shannon Deminick 1526 posts 5272 karma points MVP 3x
    Feb 12, 2015 @ 23:54
    Shannon Deminick
    0

    You'll need to give me some more information about this. What data type did you change excerpt to? How are your trying to render the value in your view, etc...

Please Sign in or register to post replies

Write your reply to:

Draft