Clean img element from media library picker field

Topics: Customizing Orchard
Mar 18, 2014 at 12:02 AM
Hi,
Today I've cleaned:
  1. Fields.MediaLibraryPciker.cshtml
  2. Media.Summary.cshtml
  3. Parts.Image.Summary.cshtml
to get a clean img like this:
<a href="@Url.Content(mediaPart.MediaUrl)">
    <img alt="@mediaPart.AlternateText" src="@Display(mediaPart.MediaUrl)" />
</a>
is other way to do it?

I hope yes!!
Thanks and Regards,
Alberto León, CSharpMan