Support svg as image format

At the moment, the supported image formats are gif, bmp, jpg, png and tiff. I would appreciate the possibility of adding svg images, too.

Comments

  • James PuckettJames Puckett Posts: 1,560
    If you can’t upload SVG then Vanilla (the forum host/platform) probably doesn’t support it. Just attach a PDF to your post.
  • glukgluk Posts: 39
    ... Just attach a PDF ...
    but for example, PDF don't support animations...
    @Linus Romer: You can insert SVG from own server by toggle HTML view and inserting
    <img alt="" src="http://www.owndomain.pl/temp/animate.svg">


  • Linus RomerLinus Romer Posts: 40
    edited March 29
    @gluk Yes, your solution works! The problem is, that it relies on an external server where the svg files may die after some time (e.g. because the free host does not exist anymore).

    I have tried to attach an svg file to a comment and refer to that instant link, but I had to rename the extension to txt and then the image was not displayed. It may work, if svg files were allowed as attachment. This would be a valuable solution for me.

    The forum here https://open.vanillaforums.com/discussion/20186/properly-viewing-svg-files-after-attached-using-fileupload indicates that a vanilla forum could be configured to support svg (as far as I understand).
  • glukgluk Posts: 39
    @Linus Romer you're right. Btw. SVG format is poorly supported. Twitter, Facebook and many other portals don't allow to upload SVG. I basically do not know why...
Sign In or Register to comment.