I'd do what you're doin: open a file and print the image to that filehandle. Then, when I generated the HTML, have the src attribute point to the file I just created.
UPDATE
When you say "doesn't show" do you get the "image not found" image?
In reply to Re: How to save an image (using GD) to a file
by arturo
in thread How to save an image (using GD) to a file
by belize
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |