Welcome to Gaia! :: *ALMOST* Every Random Sig Method Known To Gaia! | Forum

Register FaceBook Login Login

 

 
GST

Welcome to Gaia's forums, where millions of members gather to discuss random stuff, make new friends,
complain about life, argue about nothing, laugh at dumb pictures, discuss serious issues and/or curse like sailors.

Lurking is creepy. Quit skulking in the shadows and join the conversation!

Register to reply

Advertisement
Share:  
forum:92, topic:4400804
<< < 1 2 ... 11 12 13 14 15 16 17 18 ... 23 24 25 > >>
Bump and thanks for the information!
 
     
 
Ah, sweet insanity...
     

crying trying something
 
     
<a href="http://www.gaiaonline.com/gaia/redirect.php?r=http://tinyurl.com/5qm2j" target="_blank" class="postlink">My Quest. Please donate; bump.</a>
 
Bumcake
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

http://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
     

OMG-10k/700k
thanks for the info!
 
     
 
Bumcake, use this script:

&lt;?php

$images = 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"
)

header("Location: ".$images[array_rand($images)])

?&gt;


It's simpler, and, I think a tiny bit quicker. Also, you left the comma out at the end of the line that had the third image and broke the script, and the script was messed up anyway. This one will work fine. Remember, when adding a new image, put a comma on the end of the line before.

Using it with an image map won't really work right, since the map would be active for every image in the script, not just the image you intended it to be used for....
     
Bumpeth!
Thanks so much!
When ever I asked people how, they just said "Enh, look it up on google" or something equally vague.
 
     
http://i26.tinypic.com/2d13eo7.png
 
Thanks for the info. I'm all set with the script and image host and all... I just need a place to host the script.
EDIT: Not working on Geocities. I'mna try again with another host.
EDIT2:
http://khito.tripod.com/sig.php
     
http://tinyurl.com/8jy3y<-- Random image.
http://tinyurl.com/ye4ghg
Khito
Thanks for the info. I'm all set with the script and image host and all... I just need a place to host the script.
EDIT: Not working on Geocities. I'mna try again with another host.
EDIT2:
http://khito.tripod.com/sig.php

I cant remember the correct URL for the site, but I know of one that a lot of my friends use...
Something like www.1aphost.com or around that.. I suggest googling it first..
 
     
 
R A M Z A
Khito
Thanks for the info. I'm all set with the script and image host and all... I just need a place to host the script.
EDIT: Not working on Geocities. I'mna try again with another host.
EDIT2:
http://khito.tripod.com/sig.php

I cant remember the correct URL for the site, but I know of one that a lot of my friends use...
Something like www.1aphost.com or around that.. I suggest googling it first..


http://www.1asphost.com/. But they have ASP, not PHP. Try Hosting Anime, Khito.

Thanks for adding that script, Ramza. I suppose you should also add that Myspoonistoobig did partly make it or something.
     
I'd love to put her method up, but when I do, it stretches the screen badly..
The front page is already too big...
I can post a link to it though sweatdrop
 
     
http://r.undev.org/?r=3482
ಠ_ಠ
 
Peng
Using it with an image map won't really work right, since the map would be active for every image in the script, not just the image you intended it to be used for....
I have a random image for my sig. Mine has the image map in the same place in both images though.
     
I am part of the "Save the Vowels" movement.
domokun heart
 
     
~I finally got my Staff of the Angels!!!~
Mya Moonlight wins epically at being an awesome friend. ;D <3

[Ye Olden Graphics Shoppeh]
 
"http://www.bfndevelopment.com/cgi-bin/home/Members/RandomImage/RandomImage.cgi?User=14711&ID=3942&Code=aU4DFj"
     
"http://www.bfndevelopment.com/cgi-bin/home/Members/RandomImage/RandomImage.cgi?User=X-y-t-h-e
 
     
<< < 1 2 ... 11 12 13 14 15 16 17 18 ... 23 24 25 > >>

Quick Reply

Enter both words below, separated by a space:

Can't read the text? Click here

Submit

We will be phasing out support for your browser soon.

Please upgrade to one of these more modern browsers.