View Full Version : PHP GD Question
Trigs
11-10-2008, 03:43 AM
How do I add a hyperlink to a certain element of a GD image? Do I use coords or what? I want to hyperlink both an image created using imagecreatefromgd() and imagettftext()
Thanks in advance...
When you display the image use an image map to make certain parts linkable.
Trigs
11-10-2008, 05:01 PM
How do I imagemap in gd?
Invent
11-10-2008, 05:20 PM
You can't...
Decode
11-10-2008, 05:25 PM
How do I imagemap in gd?
use GD for creating the image then use imagemaps (http://www.htmlcodetutorial.com/images/images_famsupp_220.html).
Trigs
11-10-2008, 06:22 PM
I know how to imagemap in HTML but it has to be in PHP.
Decode
11-10-2008, 06:25 PM
I know how to imagemap in HTML but it has to be in PHP.
why does it have to be in php?
--ss--
11-10-2008, 06:46 PM
I know how to imagemap in HTML but it has to be in PHP.
You output the GD image and then have the map written in plain HTML underneath, why would it have to be in PHP? :s.
Trigs
11-10-2008, 11:58 PM
It's for status signatures
It's for status signatures
Then you can't do it. As far as I know you can't make the image link at all without using [url] or <a> tags, nevermind parts of it.
Decode
12-10-2008, 07:47 AM
It's for status signatures
you could slice the image.
Trigs
12-10-2008, 09:35 AM
Yeah but it's not equally sliced.
nvm, i'll look for another way
Hypertext
12-10-2008, 02:07 PM
Impossible for what you want to do.
Merged by Johno! (Forum Moderator): Posts merged due to forum lag.
Trigs
12-10-2008, 03:30 PM
okay then, thanks for your help guys
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.