/// <summary> /// Renders an image URL /// </summary> /// <typeparam name="T">The model type</typeparam> /// <param name="model">The model that contains the image field</param> /// <param name="field">A lambda expression to the image field, should be of type Glass.Mapper.Sc.Fields.Image</param> /// <param name="parameters">Image parameters, e.g. width, height</param> /// <param name="isEditable">Indicates if the field should be editable</param> /// <param name="outputHeightWidth">Indicates if the height and width attributes should be outputted when rendering the image</param> /// <returns></returns> public virtual HtmlString RenderImageUrl <T>(T model, Expression <Func <T, object> > field, object parameters = null) { return(new HtmlString(GlassHtml.RenderImageUrl(model, field, parameters))); }