and , when rendering a MediaItem, generate html code that looks like the following:
I worked on a project where we stored media assets on Akamai's CDN, so we had to change how the media URLs resolved.
We adapted the built-in LinkProvider class by changing ExpandDynamicLinks(). We also adapted Sitecore.Resources.Media.MediaProvider and updated the GetMediaUrl() method.
These were to handle links to images generated by field renderers and links created within a Rich Text editor.