Page 1 of 1

MagickEchoImageBlob- want to output this alongside HTML

Posted: 2008-01-04T18:28:45-07:00
by sambessey

I am trying to blob the image being held in memory (after processing) as part of an HTML page, but I cannot get it to work as it is expecting the doctype to be image/gif when it is in fact HTML. All I get is either the image and no HTML, or HTML and junk where the image should be.

This is the problematic line:
PHP Code:
MagickEchoImageBlob( $resource );
There must be a solution for this, but having searched high and low, I cannot find one?!