Recent Changes · Search:

Support the Project

Wikipublisher

PmWiki

edit SideBar

 
Summary
Cookbook:PmWikiDraw support
Type
Addition
Raised by
Arshia Cont?
Date opened
Monday, 6 February 2006
Description
Cookbook:PmWikiDraw supports creating GIF files using a JAVA interface. After the image is created, it is saved as a GIF in the upload directory.
Importance
2
Proposed solution
It should be very easy. Just interpret (:drawing filename:) as an URL. The required image tag format XML is “<tbook:graphics kind=‘bitmap’ file=‘$LinkUrl’ />”. It may be sufficient to create a markup rule to reinterpret a drawing as a gif attachment (assumes filename doesn’t include a .gif extension):
if ($action==‘print’ || $action==‘publish’)
    Markup('draw', 'directives', '/\(:drawing\s+(.*?):\)/', 'Attach:$1.gif');
This will display just the image in all printable forms, both HTML and PDF.
Urgency
2
Status
Closed
Resolution
A local recipe is available to support this capability. See Cookbook.PmWiki Draw.
Date closed
Thursday, 5 June 2008

« 00062 · Edit Form · 00064 »

Creative Commons License
Edit · History · Print · Recent Changes · Search · Links
Page last modified on 05 June 2008 at 08:48 PM