Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: PHP GD Question

  1. #1
    Join Date
    Oct 2007
    Posts
    824
    Tokens
    71

    Latest Awards:

    Default PHP GD Question

    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...

  2. #2
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    When you display the image use an image map to make certain parts linkable.


  3. #3
    Join Date
    Oct 2007
    Posts
    824
    Tokens
    71

    Latest Awards:

    Default

    How do I imagemap in gd?

  4. #4
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    You can't...

  5. #5
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Fazon View Post
    How do I imagemap in gd?
    use GD for creating the image then use imagemaps.
    Lets set the stage on fire, and hollywood will be jealous.

  6. #6
    Join Date
    Oct 2007
    Posts
    824
    Tokens
    71

    Latest Awards:

    Default

    I know how to imagemap in HTML but it has to be in PHP.

  7. #7
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Fazon View Post
    I know how to imagemap in HTML but it has to be in PHP.
    why does it have to be in php?
    Lets set the stage on fire, and hollywood will be jealous.

  8. #8
    Join Date
    Aug 2005
    Location
    London
    Posts
    9,773
    Tokens
    146

    Latest Awards:

    Default

    Quote Originally Posted by Fazon View Post
    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.

  9. #9
    Join Date
    Oct 2007
    Posts
    824
    Tokens
    71

    Latest Awards:

    Default

    It's for status signatures

  10. #10
    Join Date
    Jun 2008
    Location
    Manchester
    Posts
    766
    Tokens
    0

    Default

    Quote Originally Posted by Fazon View Post
    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.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •