|
Posted by Hemanth on 04/04/06 01:36
Hello,
Could anyone throw some light on the following questions, please?
1) How can I add a hyperlink to an image file generated using GD
library?
For eg., I'm using ImageString(...) function to add text to a JPEG
image. I want to make that text an hyperlink.
2) How do I insert another gif/jpeg image into an image generated using
GD library?
For eg., I've the following code......I want to include "test.gif" into
the generated JPEG (something like <img src=''> in html)
header("Content-Type: image/jpeg");
$c = ImageCreate($cw, $ch);
:
:
ImageFilledRectangle(....)
ImageRectangle(....)
ImageString(....)
:
:
ImageJPEG($c);
TIA,
Hemanth
Navigation:
[Reply to this message]
|