It's better when it's simple

User Tools

Site Tools


This is an old revision of the document!

svgEmbed Plugin

Compatible with DokuWiki

  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" unknown

plugin Allows the use of the standard media syntax, but SVG files are placed with the <embed> tag, not the <img> tag.

Last updated on
Syntax, Helper

Tagged with image, images, media, svg


Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Uploading SVG files via Media Manager

As of this writing, DokuWiki does not allow you to upload SVG files by default. This plugin will only embed SVG files that are uploaded to the wiki via the Media Manager for security's sake. To do this, you may need to create or edit the mime.local.conf file for your wiki by adding this line:

svg     image/svg+xml

Once this line is added, you should be able to upload SVG files.


Upload an SVG (Scalable Vector Graphics) file via the Media Manager; external SVG files will not be handled by this plugin for security reasons. Once you have done that, link it as you would any other image or media file, e.g.,


The SVG will be placed into your wiki page via an <embed> tag rather than an <img> tag. This allows for things such as elements with hyperlinks in the SVG to be clickable, etc., whereas embedding SVG as an image does not. (Note that this depends on support in your browser.)


Change Log

  • 2019-07-10
    • Change to fix conflict with Imagemap plugin.
  • 2019-06-21
    • Initial release

Known Bugs and Issues



plugin/svgembed.1562802176.txt.gz · Last modified: 2019-07-11 01:42 by Restless