Questions answered by this recipe
How can I draw pictures in PmWiki without Java runtime?
InputDraw is an Easy, Cross-Browser, Form Integrated Flash Draw Widget.
It is developed and maintained at http://www.mainada.net/inputdraw, which provides a simple way of enjoying online drawing. It supports viewing, editing and saving SVG image format.
With this recipe, InputDraw can be easily integrated into PmWiki as an online paintor and a SVG image viewer.
Installation & Setup
How to Use
Simply use "
If you want to use InputDraw as a viewer, use "
More Advanced Usage
The Markup inputdraw and inputdrawview takes four parameters:
Note that width, height and background_image_url are optional.
width and height should be a valid integer number or a percentage. background_image_url should be a valid address to an image file.
(:inputdraw inputdraw.svg 90% 300:)
If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".
License (contained in the download is the free version)
I'm having a bit of trouble with this working. I get an error Fatal error: Call to undefined function cbrequestargs() in /public_html/cookbook/inputdraw.php on line 16 when I try to save. any suggestions?
The "CBRequestArgs" dependency is removed in the new version (2009-05-07). Please download the zip file.
I'm having trouble with the save as well and I'm using the version non-commercial.v1.5. The app starts up ok but when I click the save button, the drawing disappears and I see that the uploaded svg file has zero content.