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.
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...
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
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...
is working on a reply...