Quantcast
Destructoid - Tavendale's Community Blog




About Me
Gamer Profile
3DS friend code:
Steam:
Battle:
PSN:
Mii:
Gamertag: Tavendale
Following (2)
BulletMagnet
Elsa
Adding a Random Element to Your DToid Blog
Tavendale | 7:08 AM on 06.26.2009 16 comments


I'm a naturally indecisive person.

Seriously, I mull over decisions as long as possible. It's not always a weakness: important decisions demand due consideration. Choosing a blog banner might not be so important, but I still find myself dithering over what to use, It would have to be one of my favourite games, however:



This was a problem I actually faced when setting up my non-DT blog. The solution I came up with was to implement a random image script, allowing me to use three or four (currently twenty five) different banners on a random rotation. Scroll up to the top of this page and hit refresh a few times. You'll see how well it works.

Go on.

I'll wait here.



Cool, isn't it? If you'd like to do this yourself, it's actually quite simple. You will need to download the PHP script and place into a folder with a selection of images, like so:



It's really as simple as that. All that's left to do is to actually use it. When posting an image, you must link to the php script instead of the image file, which will then redirect to a random image in the folder.

Hopefully I'll get to see people having some fun with this on their own blogs. If you're giving it a go, please leave a comment so I can take a look!

TTYL

edit: I should have mentioned, the script itself came from a friend, after I explained what i was trying to do. I didn't mean to misrepresent anything.



Is this post awesome? Vote it up!

0



Post a comment! You can also post a photo below:

Comment with Facebook





Click connect and comment instantly!

Comment with Dtoid





New? SIGN UP - it takes 5 seconds

15 comments | showing # 1 to 15
prev next

Halidar's Avatar - Comment posted on 06/26/2009 08:18
Halidar
That's awesome, thanks for sharing! (woot triple triad)
Tavendale's Avatar - Comment posted on 06/26/2009 08:22
Tavendale
TY, will you be giving it a go?

Also, I checked your profile, oh fellow Puyo Puyo Fiend!
ShawnKelfonne's Avatar - Comment posted on 06/26/2009 08:40
ShawnKelfonne
Nice little script. Clean, compact, to the point. You might want to obviously mention that in order to use it you'll need something other than imageshack or anything like that to host your images with.
Tavendale's Avatar - Comment posted on 06/26/2009 09:00
Tavendale
True.

I should also point out that I did not write it. A friend with some knowledge of PHP gave it to me.
Elsa's Avatar - Comment posted on 06/26/2009 09:58
Elsa
Nice! Thanks for sharing that trick!
garison's Avatar - Comment posted on 06/26/2009 10:14
garison
That's pretty cool. I should try this.
DF's Avatar - Comment posted on 06/26/2009 10:32
DF
I used something like this on an old self-hosted blog of mine. I had over 200 images at one time. XD
Tavendale's Avatar - Comment posted on 06/26/2009 10:41
Tavendale
@Doomsday Forte

Yeah, it's tempting to keep adding and adding. I started with 4 in my blog, now it's up to 25 with the most recent ones being Mirrormask, Ghost in the Shell and EVE Online.

I want to do some for Geometry Wars, Bioshock, WoW and a couple TV shows soon.
BulletMagnet's Avatar - Comment posted on 06/26/2009 11:37
BulletMagnet
Nicely done, sir - too bad I'm too boring/lazy to use more than one image in my header, heh heh. Then again, as you mention, I'm a big enough geek that I'd have a million images up there within mere days, so it's probably for the best.
Justice's Avatar - Comment posted on 06/26/2009 15:59
Justice
Damn nice work!
mix's Avatar - Comment posted on 06/26/2009 16:33
mix
That is awesome, nice stuff!
Zippyduda's Avatar - Comment posted on 06/26/2009 20:23
Zippyduda
Pretty good :) Tell your friend thank you and cheers for posting.

When I have time I'll have a gander, bookmarked :)
akathatoneguy's Avatar - Comment posted on 06/26/2009 23:55
akathatoneguy
Sweet tip! Now if I only knew how to design a cool-looking banner in the first place...
Tavendale's Avatar - Comment posted on 06/27/2009 05:44
Tavendale
@ AKAThatOneGuy

I never let that problem stop me!
Tavendale's Avatar - Comment posted on 06/28/2009 06:17
Tavendale
Trying it out with my avatar to see how that looks.
prev next

Comment with Facebook





Click connect and comment instantly!

Comment with Dtoid





New? SIGN UP - it takes 5 seconds

Comments policy

Destructoid is an open discussion community. You don't need to "audition" to post a comment - just speak your mind. We respect differing opinions on the site, so have at it. Be smart, funny, insightful, clueless, or cute -- but back it up with substance. Keep your cool, keep it fun. We only ask that you act respectfully and above all: don't be a troll and ruin it for everyone else. Don't bring down gamers or we'll, you know, gently shoot you in the face and stuff you into a flaming mailbox. Each comment is your opportuntity to make this community awesomer. Is that even a word?

Avoiding the banhammer only requires common sense: spamming, trolling, racism, NSFW stuff, and other forms of sucking will not be tolerated. If anyone is griefing please report abuse. Be good. Don't suck!