MediaDescriptor

Vote:
 

In my solution I have several media type classes that will match for jpg/png using MediaDescriptor.

Is there a way to tell EPiServer what is the default type? Looks like EPiServer simply picks the first type it finds.

#90964
Sep 23, 2014 11:40
Vote:
 

My quick fix is to use naming of media type classes to "tell" EPiServer what is the default one. Would be great if there was a better solution for this - such as using an attribute of some kind.

#90966
Sep 23, 2014 11:54
Vote:
 

A solution to the problem:

http://geta.no/blogg/resolve-default-media-types-in-episerver/

#91442
Edited, Oct 06, 2014 8:36
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.