Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #984337
attach_image missing SVG files
Closed

Comments

  •  2
    Alicja started the conversation

    Hello,

    I really like your theme, but I'm struggling with one thing for few days. I need to create field in Visual Composer where user will be able to pick an icon or upload new icon and use it. I'm trying to use attach_image param_type, but it doesn't allow SVG icons. Therefore attach_file param type is missing. 

    How I can make it possible to pick SVG icons and add them the same as PNG/JPG ones. 

    I'm front-end developer. 

    Best and thanks for help,

    Alicja

  •  7,092
    Oliver replied

    HI!

    You can use converter: 

    http://svgtopng.com/ 

    Or add it as your own icon pls. check:

    http://codex-themes.com/thegem/documentation/#adding-your-own-icons


    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •  2
    Alicja replied

    Thank you for answer, unfortunately both solutions are not good in my case since I need to use SVG icons and also enable posibility for non-tech people in our company to upload own icons (icon font makes it impossible). Finally I added shortcode for attaching files instead of images. Best