I have an image stashed as a blob in a mysql database. I want to display it in the middle of a page with text and stuff wrapped around it.
All the examples I've seen, even in the manual look like:
header ("Content-type: image/jpeg");
imagejpeg($data);
But this doesn't work in the middle of a page where the header has already been sent.
I need something that will work like
...
<img src="foobar.jpeg">
...
in the middle of a page.
Can this be done? How?
Thanks.