1
I'm developing a custom module and want to be able to generate a png image using php and xoops. The image generated is dependent on the user logged in and also a few other GET options. it therefore needs access to the XOOPS API but allowing the module to set the http header to png and not outputing the normal header and footer of the page.
I know you can do a : $xoopsOption['output_type'] = plain; in 2.2 but this doesn't seem to work in 2.0.x.
Has anyone done anything similar to this? I've spent days googling for the answer and it seems that it hasn't been done before.
I'm running out of options.
AB