According to the DXA 1.1 documentation it should be possible to create custom Media Items.
I have created an EntityModel with a public MediaItem Media { get; set; }
property (the property could be used for multiple Media Item types). Also created a custom Image EntityModel. When I use a core Image mm component the image is mapped correctly, however when I use a mm component based on my custom Image schema, I am getting the following error:
Unable to map field 'media' to property of type 'Sdl.Web.Common.Models.MediaItem'.
I am just not sure how to configure DXA for it to use the custom Image EntityModel. What am I missing here?