Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jan Bengtsson 64 posts 107 karma points
    May 22, 2015 @ 15:14
    Jan Bengtsson
    0

    Support for custom mediatypes

    Hi Rolf,

    I'm using your package for my current project and I'm very pleased with the "Edit in Media" feature. That's what I call added value! However, I've got a different issue with the Picker and I'd like to know if you have any ideas on how to come to terms with that one, too. Here it is: 

    If you upload an image to a Media folder through the Picker, it's automatically assigned the Image mediatype. Fair enough. But - what if the Media folder does not allow the Image mediatype? Well, it will get the Image mediatype anyway!

    This means you cannot upload an image via the Picker and have it stored with a custom Image mediatype containing e.g. a specific instance of Image Cropper or some specific custom properties. To achieve this it must be uploaded in the Media section, which I think is an unnecessary detour in most cases.

    So, what do you think - is it possible to make this process more user-friendly? If so, can it be implemented in the Extended Picker or is it an Umbraco core issue? 

    /Jan

  • Rolf Johansson 53 posts 315 karma points
    May 28, 2015 @ 15:18
    Rolf Johansson
    0

    Hi Jan, sorry for the late answer.

    I'm almost certain this is a Core issue. I've seen issues in the tracker about Umbraco not respecting allowed Media Types, even when uploading directly into the Media Section. Maybe it's fixed partially now?

    The Extended Media Picker is just a copy of the normal Media Picker, so the code-behind is (mostly) the same, but the view adds some nice gadgets.

    Try searching the forum or issues.umbraco.org for something like "media picker default image type", and see if you have any luck. I just tried a search but couldn't find what I remember as the issues or threads... unfortunately. Or try grabbing Jeroen Breuer, I think he has some insights in this issue...

Please Sign in or register to post replies

Write your reply to:

Draft