Copied to clipboard

Flag this post as spam?

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


  • Avraham Kahana 22 posts 56 karma points
    Nov 06, 2014 @ 17:06
    Avraham Kahana
    0

    How to use Folder Browser to add images with a Document Type other than "Image" ?

    Hi there, I want to add a Media Type folder from which I can upload multiple images (bulk upload) at once. Defining a Folder media type with a Folder Browser property works pretty well, but the thing is that the document types of the files added are always "Image". I want the files that are uploaded to use a different Document Type - one I created (so the images have additional fields I need).

    Thanks in advance

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Nov 09, 2014 @ 14:28
    Jan Skovgaard
    0

    Hi Avraham and welcome to our :)

    What version of Umbraco are you using? Since Umbraco 4.9 it's been possible to drag'n'drop files into a folder in the media section and Umbraco usually figures out what kind of type it is like Image or File if I remember correctly so I guess it should work out of the box unless you're trying to do something custom with using custom document types for the documents.

    Looking forward to hearing from you.

    /Jan

  • Avraham Kahana 22 posts 56 karma points
    Nov 09, 2014 @ 14:54
    Avraham Kahana
    0

    Hi Jan, thanks for replying. Yes, we are talking about a custom Document Type, so I do not think what you suggest will work. The question is how to make a file upload treat the file as my custom Document Type instead of a regular Image Document Type.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Nov 09, 2014 @ 15:30
    Jan Skovgaard
    0

    Hi Avraham

    Ok...don't know if this old information from the wiki might help?

    http://our.umbraco.org/wiki/how-tos/creating-custom-media-types

    Or perhaps the stuff from this blogpost from 2014? http://dejanstojanovic.net/umbraco-cms/2014/april/upload-multiple-custom-media-types/

    /Jan

  • Avraham Kahana 22 posts 56 karma points
    Nov 09, 2014 @ 17:13
    Avraham Kahana
    0

    I will check this out, Jan. Thanks for helping.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Nov 10, 2014 @ 12:08
    Jeroen Breuer
    0

    Hello,

    Why do you want extra properties on your media type? It isn't best practise because you'll get problems with the uploader like you're having. If you want additional info with your image it might be better to use Archetype for that.

    Jeroen

  • Avraham Kahana 22 posts 56 karma points
    Nov 10, 2014 @ 12:09
    Avraham Kahana
    0

    Thanks Jeroen, I will study the topic.

Please Sign in or register to post replies

Write your reply to:

Draft