Copied to clipboard

Flag this post as spam?

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


  • bh 408 posts 1395 karma points
    Feb 11, 2020 @ 17:28
    bh
    0

    Trying to upload an *.svg to Media in v8.5.2. I get this error...

    Cannot upload this file, it does not have an approved file type.

  • Matthew Wise 271 posts 1373 karma points MVP 4x c-trib
    Feb 11, 2020 @ 17:42
    Matthew Wise
    0

    Check to see if svg is present in confiig/UmbracoSettings.cofig <disallowedUploadFiles> element, if so remove it.

    Matt

  • bh 408 posts 1395 karma points
    Feb 11, 2020 @ 17:44
    bh
    0

    svg is not in the disallowedUploadFiles

  • bh 408 posts 1395 karma points
    Feb 12, 2020 @ 14:43
    bh
    0

    anybody have any idea how to work around this error?

  • Matt 353 posts 825 karma points
    Feb 12, 2020 @ 14:55
    Matt
    101

    Hi,

    Have you restricted so its only images only? I remember seeing something about svg not being recognized as an image.

  • bh 408 posts 1395 karma points
    Feb 12, 2020 @ 15:02
    bh
    0

    Thanks @Matt. That was it. I turned off the "select only images" option on that mediapicker and boom it worked. Thank you sir!

Please Sign in or register to post replies

Write your reply to:

Draft