ImageJpeg() can send output directly to the browser or to a file. When sending directly to a browser, the image can be the only thing sent to the browser. Otherwise you will get the Warning: Cannot modify header information - headers already sent by (output started at... error.
I need to display the output of ImageJPEG as part of a page along with other content, not just the only thing on the page. I could write it to a file, but don't want to use this extra step unless I can't find any alternative.
Is there anyway to send the image to the browser along with other normal content?