[Moin-devel] Macro that generates a dyamic png

Nick Trout nick at rockstarvancouver.com
Mon Apr 28 10:34:02 EDT 2003


> So what I would need, is either how to send a PNG 'on the fly' from a
macro, 
or how to make an action that is not listed at the bottom of all pages.

I haven't tried this but you could write the PNG to the page's
attachment directory and return the attachment name as a link (eg. <img
src="attachment-name">) from the macro. You could check the page
timestamp and PNG timestamp to decide whether to recreate the PNG after
a page save.

Regards,
Nick





More information about the Moin-devel mailing list