Welcome to Gaia! ::


I have an image map sig but it wont work with gaia... I've been through the extended faq stuff and got all that right. But none of my hosts works with it... Can anyone help me with this? If you understand anyway... ><;

edit: I am going afk for awhile but I will be back... so please go ahead a post if you can help me. I really want to get this working.

Here is the code php file whatever thingie I uploaded to the hosts that say they support php...
<?PHP
/* Gaia Image Map Go-er
Rudolph J Heuser
*/

require_once("imagemap.class.php")

// new imageMap
$myImageMap = new imageMap()

// define regions

// journal
$area = new Rect(21,71,115,92,"http://www.gaiaonline.com/journal/?u=266520")
$myImageMap->addToMap($area)

// lolita
$area = new Rect(118,71,213,92,"http://www.gaiaonline.com/forum/redirect.php?r=http://www.gaiaonline.com/forum/viewtopic.php?t=5356248&postdays=0&postorder=asc&start=0")
$myImageMap->addToMap($area)

// sigs like me
$area = new Rect(214,70,310,92,"http://www.gaiaonline.com/forum/viewtopic.php?pt=1105263821&p=264110900#264110900")
$myImageMap->addToMap($area)

// website
$area = new Rect(318,71,378,92,"http://nv.boyis.com")
$myImageMap->addToMap($area)

// capture X and Y from query string
$x_and_y = $_SERVER["QUERY_STRING"]
$x_and_y = explode(",",$x_and_y)
$inX = $x_and_y[0]
$inY = $x_and_y[1]
unset($x_and_y)

// echo $inX. "," . $inY;
$myImageMap->testMap($inX, $inY)

?>
Do any of your hosts support php? If they don't that may be why.
You need to upload the image, put it in your sig, and then put the image map data in the link tag.
Is this what you're trying to do?
www.imageshack.us
Kiretsu
Do any of your hosts support php? If they don't that may be why.


A few said that they did.. but I dunno. I'm still confused on it... all I have to do it upload the php map stuff right? I don't understand php that well yet.
Well, you have the image, and you have the php file right? Did you edit the php file to work with your image?
Kiretsu
Well, you have the image, and you have the php file right? Did you edit the php file to work with your image?


Yes, when I put everything into my sig. The image worked and when I run my mouse over the image it showed that it was working... seeing the x,y stuff at the bottem of my browser. But whatever I click on.. It just sends me to place I uploaded it. Sometimes it'll says errors blah de blah... or just looks like it's about to load an image but never does.
thesneak256
You need to upload the image, put it in your sig, and then put the image map data in the link tag.
Is this what you're trying to do?
www.imageshack.us


Have the image hosting down okay.. gaia has to make to it more complicated with imagemaps...><;

Quick Reply

Submit
Manage Your Items
Other Stuff
Get GCash
Offers
Get Items
More Items
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff
Gaia's Games
Mini-Games
Play with GCash
Play with Platinum