Does WEC7 webserver support SVG files RRS feed

  • Question

  • All;

    I am looking to see if the webserver in WEC7 embedded supports the use of .SVG files? If so, how is it enabled in visual studio platform builder? Are there any examples of use in a web screen?

    Thanks, Jeff

    Tuesday, February 26, 2019 3:44 PM

All replies

  • SVG image files are just plain XML files. It has to be supported by web browsers (or anything you plan to use to render it) instead of web server.

    And to build websites with it, generally you need image editor instead. (unless if you're rendering graph, in that case you may want to use your code to generate data XML file with specially crafted XSLT file) Then again, support of both SVG and XSLT are provided by web browser instead of server (the only thing related to web server configuration is to provide correct MIME type to these 2 file types).

    To use it on web, just use it on "src" of normal IMG tag as what you'd do with ordinary images. 

    Wednesday, February 27, 2019 2:06 AM