The GetImage
method is located in the CMSAbstractTransformation.Methods
class (under the CMS.Controls
namespace).
So you could do:
<%# CMSAbstractTransformation.Methods.GetImage(Eval("NodeAliasPath"), Eval("MenuItemTeaserImage")) %>
Or you could specify a transformation by setting the TransformationName
on the Repeater control, instead of defining an <ItemTemplate>
- that will give you access to transformation methods, as well as the ability to edit transformations in Kentico.