Copied to clipboard

Flag this post as spam?

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


  • Alin Răuțoiu 27 posts 125 karma points
    Nov 14, 2022 @ 14:15
    Alin Răuțoiu
    0

    Uploading non-image files in Folders

    Uploading a file with the uploadForm (doesn't matter if it's drag and drop or I select the uploading dialog) from the Media tab works, because it fires the PostAddFile method with the contentTypeAlias parameter set on umbracoAutoSelect.

    If I try to upload a non-image file inside a folder it fails, and it automatically treats the file as an image. Even though the item picker menu appears, the contentTypeAlias parameter is already selected as Image.

    What could be at fault here?

Please Sign in or register to post replies

Write your reply to:

Draft