Does anyone know how i can add a hyperlink to a GD created image?
the same way you add a link to any other image <a href="link.php">image.php</a>
nope tried that and the image is no longer generated and a load of garbled text is
You do know that one script can only output one type of data? So if you use GD to create an image, you create an image display & link in ANOTHER page, just like you would with any other image.
ahh see theres my problem.
the script is designed to be used on forums with [img] tags, which its not possible to wrap an [url] tag to an [img]??
the image is not linked to with an image extension it is linked to a php file with an attached variable
homer09001 wrote:which its not possible to wrap an [url] tag to an [img]??
which its not possible to wrap an [url] tag to an [img]??
Depends on how you're writing it. But wouldn't it make more sense to wrap the [img] tag inside a [url]?
i have tried but it doesnt work,
[url]http://www.google.com[img]http://test.dth-scripts.com/JAGUAR/JagSig/sig.php?pilid=005[/img][/url]
all it outputs is un-hyperlinked url and the image
How about
[noparse][/noparse]
http://www.phpbb.com/community/faq.php?mode=bbcode#f50
ahhh yes thats got it perfect thanks