<!-- Chaining commands -->
<%=this.ImageTag("Image2.png", task => task.ResizeHeight(300).Rotate(45))%><!-- Chaining commands -->
<%=Me.ImageTag("Image2.png", Function(task) task.ResizeHeight(300).Rotate(45))%><!-- Adding html attributes to generated <img> tag -->
<%=this.ImageTag("Image3.jpg", task => task.FlipVertical(), new { alt = "description" })%><!-- Adding html attributes to generated <img> tag -->
<%=Me.ImageTag("Image3.jpg", Function(task) task.FlipVertical(), New With { .alt = "description" })%><!-- Changing image file name in generated url for seo purposes -->
<%=this.ImageTag("Image4.jpg", task => task.Brightness(50).FileName("seo-name"))%><!-- Changing image file name in generated url for seo purposes -->
<%=Me.ImageTag("Image4.jpg", Function(task) task.Brightness(50).FileName("seo-name"))%><!-- Using ImageUrl and also changing format of the resulting image -->
Image url: <%=this.ImageUrl("Image5.jpg", task => task.Crop(0, 0, 100, 100).Format(ImageWebSafeFormat.Png))%><!-- Using ImageUrl and also changing format of the resulting image -->
Image url: <%=Me.ImageUrl("Image5.jpg", Function(task) task.Crop(0, 0, 100, 100).Format(ImageWebSafeFormat.Png))%>