Welcome to Gaia! ::

anyone now how to make a random sig with a diferente link per image ? :s
Rika Lotus

ok this is my script now...i dunno how many of the header things are supposed to be in there...so i have 4..one for each image... sweatdrop
what im trying to do is get my image map to show up and act..well...like an image map...the pets seem to show up fine...they are just regular pictures...


Quote:

<?php
$links = array(
"http://img.photobucket.com/albums/v451/leatrix/ImageMaps/mapstary.jpg",
"http://img.photobucket.com/albums/v451/leatrix/pets/ryukogrown1.jpg",
"http://img.photobucket.com/albums/v679/Gauze-Mizin/Tagged/kyrik.jpg"
"http://img.photobucket.com/albums/v679/Gauze-Mizin/Tagged/mitrik.jpg" wink ;

$howMany = count($links); //4

srand ((double) microtime() * 948625); //seed the randomizer
$randNumber = rand(1,$howMany); //make the random Number

//select the image
header("Location: ".$links[$randNumber]);
header("Location: ".$links[$randNumber]);
header("Location: ".$links[$randNumber]);
header("Location: ".$links[$randNumber]);
?>


and the code for my sig

User Imagehttp://frozen.t35.com/random.php?10,18 [/img]
AHHH THIS IS BULL IVE BEEN TRYING TO DO THAT FOR THREE HOURS! BUT IT JUST TAKES ME TO THIS PAGE!!!!!!!! stressed .....

<img src="http://img.photobucket.com/albums/v677/3D6AR1/LOLOLOLO.bmp" alt="Image hosted by Photobucket.com">

BULLSHIT!!!MY HEAD HURTS stressed
FORGET IT I GOT IT!UGHH
Thanks about this. It helped... But. What about random LINK pics? o_O
You can't link the random pics but to one place... Or am I wrong? crying

It's annoying that I can't put all the groups and such to my sig and it looks stypid when there's too many pics at the same time. (I hate my sig right now -_-')
Spoon posted a random image script that has links to go with each image:

http://www.gaiaonline.com/forum/viewtopic.php?p=316855833#316855833

Works great for me. 3nodding
Rika Lotus
Rika Lotus

ok this is my script now...i dunno how many of the header things are supposed to be in there...so i have 4..one for each image... sweatdrop
what im trying to do is get my image map to show up and act..well...like an image map...the pets seem to show up fine...they are just regular pictures...


Quote:

&lt;?php
$links = array(
"http://img.photobucket.com/albums/v451/leatrix/ImageMaps/mapstary.jpg",
"http://img.photobucket.com/albums/v451/leatrix/pets/ryukogrown1.jpg",
"http://img.photobucket.com/albums/v679/Gauze-Mizin/Tagged/kyrik.jpg"
"http://img.photobucket.com/albums/v679/Gauze-Mizin/Tagged/mitrik.jpg" wink ;

$howMany = count($links); //4

srand ((double) microtime() * 948625); //seed the randomizer
$randNumber = rand(1,$howMany); //make the random Number

//select the image
header("Location: ".$links[$randNumber]);
header("Location: ".$links[$randNumber]);
header("Location: ".$links[$randNumber]);
header("Location: ".$links[$randNumber]);
?&gt;


and the code for my sig

User Imagehttp://frozen.t35.com/random.php?10,18 [/img]


You only need the header line once -- you're only redirecting to one image, right?

You could set up an image map as is explained in other threads and use the random image script for the image, but note that each image in the script could be used as the image map, not just the one mad to be the image map.
Peng
Spoon posted a random image script that has links to go with each image:

http://www.gaiaonline.com/forum/viewtopic.php?p=316855833#316855833

Works great for me. 3nodding


Thanks you! ^^ heart
Peng
Rika Lotus
Rika Lotus

ok this is my script now...i dunno how many of the header things are supposed to be in there...so i have 4..one for each image... sweatdrop
what im trying to do is get my image map to show up and act..well...like an image map...the pets seem to show up fine...they are just regular pictures...


Quote:

&lt;?php
$links = array(
"http://img.photobucket.com/albums/v451/leatrix/ImageMaps/mapbumcake.jpg",
"http://img.photobucket.com/albums/v451/leatrix/pets/ryukogrown1.jpg",
"http://img.photobucket.com/albums/v679/Gauze-Mizin/Tagged/kyrik.jpg"
"http://img.photobucket.com/albums/v679/Gauze-Mizin/Tagged/mitrik.jpg" wink ;

$howMany = count($links); //4

srand ((double) microtime() * 948625); //seed the randomizer
$randNumber = rand(1,$howMany); //make the random Number

//select the image
header("Location: ".$links[$randNumber]);
?&gt;


and the code for my sig

User Imagehttp://frozen.t35.com/random.php?10,18 [/img]


You only need the header line once -- you're only redirecting to one image, right?

You could set up an image map as is explained in other threads and use the random image script for the image, but note that each image in the script could be used as the image map, not just the one mad to be the image map.

ok i have an image map...how exactly do i use the script to randomize it with a bunch of pictures?
-ish rika lotus-

still not working...aynone wanna help meh..? sweatdrop
*Bows down to Ramza* You have solved my biggest(And only) sig quest ever. eek I can't begin to tell you how much I've searched for a simple way to do this. Ever since I joined Gaia almost three years ago I've been trying to figure out how to do this.
And your name...*Drools* gonk
As you can see, mine's a little red x. I used Black Fire Networks and Photobucket to host it all. Sorry if this was explained, one of the questions on the first post had something that might be related to my problem, but I didn't quite understand. I'm not sure if you can help~ But thanks anyways?
i been trying to get my image to show up and it is ok not really big i think i put somehting worng can someone help me?

Quick Reply

Submit
Manage Your Items
Other Stuff
Get Items
Get Gaia Cash
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff