Copied to clipboard

Flag this post as spam?

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


  • MaartenVissers 32 posts 150 karma points
    Jan 02, 2022 @ 09:49
    MaartenVissers
    0

    Umbraco 9: Allow svg images

    How can I make it possible to use SVG files as images? I can't do this when using the Image Media Picker, the svg-images are disabled in the picker.

  • MaartenVissers 32 posts 150 karma points
    Jan 02, 2022 @ 10:00
    MaartenVissers
    102

    I have already found it. Go to settings, data types and choose the Image Media Picker. There, add Vector graphics (SVG) to the Accepted Types.

    enter image description here

  • andrew shearer 506 posts 653 karma points
    Feb 23, 2022 @ 04:00
    andrew shearer
    0

    "Vector Graphics (SVG)" isn't an available type for me?

  • MaartenVissers 32 posts 150 karma points
    Feb 23, 2022 @ 19:57
    MaartenVissers
    0

    Are u using Umbraco 9?

  • andrew shearer 506 posts 653 karma points
    Mar 01, 2022 @ 01:51
    andrew shearer
    0

    Yes 9, but an upgraded 8 database. Maybe a migration hasn't been applied?

  • Jaypennson Amang 11 posts 91 karma points
    Jun 20, 2022 @ 09:16
    Jaypennson Amang
    0

    Hello,

    How do you render the svg file in the frontend when it is under a list view item?

  • Bo Jacobsen 593 posts 2389 karma points
    Jun 20, 2022 @ 09:45
    Bo Jacobsen
    0

    Hi Andrew.

    Umbraco 8, also had this feature.

    First you need to create a Vector Graphics (SVG) media type under MediaTypes in Settings.

    As the umbracoFile property, you need to create a datatype (File upload) that allows svg extensions.

    After that you will be able to pick it as an (accepted types).

Please Sign in or register to post replies

Write your reply to:

Draft