I'm trying to render a image field with RenderImage. I need some data- attributes in the image but I can't seem to figure out how to go about implementing that. I've tried this but doesn't work
@RenderImage(image, x => x.Image, new RenderingParameters("width=100"), isEditable: true) .
Thanks