Table of Contents
SVG Plugin
Compatible with DokuWiki
Lemming
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Overview:
The SVG plugin provides a variety of methods for embedding SVG images directly within your wiki pages.
For more information please see the project page at http://cvpcs.org/projects/web/dokuwiki-svg.
Installation Requirements:
This module is designed to work under many different situations and installation environments. There are only a few true requirements for installation, and the rest are optional as they are purely used for feature enhancements.
PHP Version
It is recommended that PHP 5 or greater be used when running this plugin, however it should work with PHP 4.3.0 and up.
Extensions
Plugin:svg utilizes various extensions to provide SVG format support and parsing. The following extensions are required in order for the svg plugin to work:
- xml (automatically installed unless explicitly disabled with the '–disable-xml' configuration directive)
There are a few extensions that are optional and can provide additional functionality to the svg plugin. These extensions are:
- imagick (provides ImageMagick / GraphicsMagick support)
- magickwand (provides ImageMagick support)
Documentation
This will be added shortly. For now here is a basic idea of the syntax:
<svgimage> <!-- insert svg code here (be sure to start with <?xml version="... etc.) --> </svgimage>
Future Plans
- Add support for the built-in GD library as an alternative to ImageMagick/GraphicsMagick
Known Bugs
- [ FIXED ] Upon installing the plugin, page=config causes a blank page to be displayed until the plugin is removed.
Comments
Please leave any comments you have about the plugin here.
from err404:
when i install svg plugins, i can't do page=config , i obtain blank page.
when i deactivate svg plugin in page=plugin, i obtain a same blank page.
for normal operation in page=config, i need remove svg plugin from page=plugin
i use dokuwiki-2007-06-26b. and i am french, (sorry about my aproximative translation).
from Austen:
This has been fixed in the recent update.
There was a syntax error in my PHP that caused the script to die prematurely on the config page.
Sorry for the delay in this bugfix.
from Err404:
your plugin is conflict with another svg plugin: svgpureinsert
but i want use theses two plugin, one to insert svg file image (other plugin), and second to insert svg code in source page (your plugin).
i think is a conflict name.
i propose you to rename svg folder to svgcode