Why is this code not working ?
&l
If you base64 encode the output, you could use the image directly with a Data URI scheme.
', base64_encode(ob_get_clean())); imagedestroy($myImage); ?>
Note that Data URIs are not supported by all browsers (guess which).