ps-team
10/27/2017 - 9:35 AM

How to get the alt text of an Image node using the WebApi

How to get the alt text of an Image node using the WebApi

@using Contensis.Framework.Web

@{
	NodeFactory nf = new NodeFactory();
  
  	ContentNode n = (ContentNode)nf.LoadById(####);
  
  	<img src="@n.Path" alt="@n.MenuName" />
}