Uploading svg files Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
4 posters

    Uploading svg files

    avatar
    TasV
    Forumember


    Male Posts : 101
    Reputation : 0
    Language : English
    Location : Australia

    Solved Uploading svg files

    Post by TasV December 26th 2018, 11:03 am

    Technical Details


    Forum version : #ModernBB
    Position : Founder
    Concerned browser(s) : Google Chrome
    Who the problem concerns : Yourself
    When the problem appeared : Uploading svg files using the servimg interface in the Admin control panel.
    Forum link :

    Description of problem

    When you start a new forum using the ModernBB theme (I assume it would be the same for any version though) the default header img is an svg file to allow it to scale... when I try to upload my own svg file (made in Illustrator) it says the file type is not supported. How does one get a vector img uploaded to ensure cross platform scaling... or is there another way?


    Last edited by TasV on January 1st 2019, 4:39 am; edited 1 time in total
    brandon_g
    brandon_g
    Manager
    Manager


    Male Posts : 10113
    Reputation : 923
    Language : English
    Location : USA

    Solved Re: Uploading svg files

    Post by brandon_g December 26th 2018, 5:47 pm

    Hello,

    Are you uploading the images to servimg or another imagehost?

    -Brandon



    Uploading svg files Brando10
    Remember to mark your topic Uploading svg files Solved15 when a solution is found.
    General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

    Uploading svg files Scre1476
    Team Leader
    Review Section Rules | Request A Review | Sticker Points
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Uploading svg files

    Post by SLGray December 26th 2018, 7:11 pm

    If you are editing the image, you can save it as a png file.



    Uploading svg files Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    TasV
    Forumember


    Male Posts : 101
    Reputation : 0
    Language : English
    Location : Australia

    Solved Re: Uploading svg files

    Post by TasV December 27th 2018, 2:04 am

    I was uploading using the servimg popup in Pics Management. I'm trying to upload my own svg file so it scales between platforms as the default one does. PNG files don't scale do they?
    avatar
    TasV
    Forumember


    Male Posts : 101
    Reputation : 0
    Language : English
    Location : Australia

    Solved Re: Uploading svg files

    Post by TasV December 27th 2018, 2:11 am

    I'm assuming the only way to do it is via a third party host... if I can find one that will host svg files... maybe use Github???
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Uploading svg files

    Post by SLGray December 27th 2018, 4:03 am

    Try uploading it from a topic on your forum.



    Uploading svg files Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    TasV
    Forumember


    Male Posts : 101
    Reputation : 0
    Language : English
    Location : Australia

    Solved Re: Uploading svg files

    Post by TasV December 27th 2018, 4:18 am

    Ok.. will try it now.. though the servimg website doesn't list svg files as an allowable extension.
    avatar
    TasV
    Forumember


    Male Posts : 101
    Reputation : 0
    Language : English
    Location : Australia

    Solved Re: Uploading svg files

    Post by TasV December 27th 2018, 4:22 am

    Didn't work either.. not an allowable file extension.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Uploading svg files

    Post by SLGray December 27th 2018, 4:23 am

    Exactly the default image is not hosted on Servimg.



    Uploading svg files Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    TasV
    Forumember


    Male Posts : 101
    Reputation : 0
    Language : English
    Location : Australia

    Solved Re: Uploading svg files

    Post by TasV December 27th 2018, 4:28 am

    It's ok... I understand that svg files are basically text files and so can have malicious code in them... so can't be uploaded.. will just have to think of a work around... I will see if I can get some webs space to host it remotely.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Uploading svg files

    Post by SLGray December 27th 2018, 4:46 am

    There should be host sites that allow svg files.



    Uploading svg files Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    TasV
    Forumember


    Male Posts : 101
    Reputation : 0
    Language : English
    Location : Australia

    Solved Re: Uploading svg files

    Post by TasV December 27th 2018, 5:18 am

    Ok.. worked it out... I needed some webspace anyway so just used that as a host.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Uploading svg files

    Post by SLGray December 27th 2018, 5:49 am

    If this is solved, please click the green solved button at the top.



    Uploading svg files Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Draxion
    Draxion
    Helper
    Helper


    Male Posts : 2518
    Reputation : 321
    Language : English
    Location : USA

    Solved Re: Uploading svg files

    Post by Draxion January 1st 2019, 4:14 pm

    Problem solved & topic archived.
    Please read our forum rules: ESF General Rules