Reputation: 782
I have successfully watermarked the image as mentioned in the PHP Manual. It uses header('Content-type: image/png');
to output the image
. What I need to do is to output the image in html
<img>
tags. how can I accomplish that? any idea?
Upvotes: 0
Views: 94
Reputation: 1317
<img src="/url/to/your/image-making-file-goes-here.php" alt="Image created by php" />
You should probably use some cache for this too.
Upvotes: 1