Home Forums WoodMart support forum How can i add a svg image?

How can i add a svg image?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #630880

    bestshop24h
    Participant

    I had installed the plugin “Safe SVG”, but i still can’t add a svg image.

    Attachments:
    You must be logged in to view attached files.
    #631130

    Luke Nielsen
    Keymaster

    Hello,

    Did you contact your hosting support? You need to contact them and ask to disable that security.

    Check this article for help: https://www.wpbeginner.com/wp-tutorials/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress/

    Kind Regards

    #633800

    bestshop24h
    Participant

    hi,
    ” need to contact them and ask to disable that security.”,what exactly should the hosting support do?
    the hosting is setup by myself with linode VPS

    thanks

    #633875

    bestshop24h
    Participant

    now ,i have successfully uploaded a svg image,but it doesnot move on the website (if open the svg image in my computer ,it is an image like gif ,would move)

    #633896

    bestshop24h
    Participant

    the svg image is at the bottom of the link below

    Attachments:
    You must be logged in to view attached files.
    #634077

    Luke Nielsen
    Keymaster

    Hello,

    Make sure that the file has the .gif expansion https://prnt.sc/5YGTbpV0VIVj then upload it to the SVG and Image element.

    Let me know the result.

    Kind Regards

    #634587

    bestshop24h
    Participant

    why the svg file in the website https://global.niu.com/en-us can act like an animation ,the same svg file in my website only show a still image?

    what should i do to make the svg file also show like an animation in my website?

    #635042

    Luke Nielsen
    Keymaster

    Hello,

    Our SVG and Image element are based on the img tag so the animation that you have will not work, unfortunately. In this case, I suggest you show it via the Raw HTML/HTML element – https://prnt.sc/j3VRsoBy70fo

    Kind Regards

    #636325

    bestshop24h
    Participant

    hi
    i donot understand the details
    how to do it step by step?
    please help add the svg file to my website

    then i would go to see the code details

    sincerely

    #636927

    Luke Nielsen
    Keymaster

    Hello,

    I have checked it with the HTML element and it seems that the JS from the SVG breaks the website structure. Unfortunately, we don’t have such a default element for showing such an SVG image and at the same time when showing it via the Htmkl element, it breaks the webpage. Therefore, unfortunately, we don’t have the ability to show such animated SVG elements, sorry.

    Kind Regards

Viewing 10 posts - 1 through 10 (of 10 total)