Tuesday, December 11, 2007

Random image 1.0

I added a random image generator to our blog. I rewrote a crappy script and can add large amounts of pictures semi-automatically now. It is, as far as I know, impossible to write a javascript that picks a random file from a folder. You can not just add the pictures to our randomimage folder at rainbowboys.org.

Douchebag needs to add a coloured title and you can send me any images you want in there or I'll just add some blog images from time to time.

12 comments:

cybrbeast said...

Plz add hombre! :)

cybrbeast said...

Can't I just upload images with the right numbering i.e. 78, 79, 80 etc..?

Douchebag said...

done and done

annom said...

Hombre is already in there!

You can upload images with the right numbering, but you have to change the value of the total number of pictures in the blog template.

In the template you can search for "wish" and change the value of n in the code that is below "wish". n is the total number of pictures in the folder.

Kamiel said...

i will send you some images to you soon (got 9 gig to pick from)

got an other idea for the site. lets put on the left sidebar a list of all the labels we used. So visitors that visit our site for the first time can fast search true the site on the things they like. Got this idea from a porn site (its really easy now to switch to the midget porn instead of searching between all the other shit

Kamiel said...

ohh and it would be total pownage if the random photo got a link with the article its from. But i can understand if thats a lot of work or impossible to do.

annom said...

We are using the old blogger template. Google makes features for the new template, but not for our old one.

We could add links to tags by hand though. For the new blogger system you get this automated with the number of posts per tag shown behind the tag.

I also thought about linking to the post where the pic came from, but you have to do that by hand which costs a lot of time.

Google may have this feature for the new template, but certainly not for our version. :(

annom said...

We can also add a "random pic from wikis porn collection" to the sidebar!

Kamiel said...

Why we don't use the new template then? Or is our design not compatible with the new template? Anyway i smell laziness by the douchebag.

Unknown said...

sure we can use a new template.......

WIKI: upgrade it and simply copy paste our code into the new template.

Then we'll be able to add all the new features you want......and still have the current design.

Kamiel said...

If it was easy everybody would have such a beautifully blog as we. Therefor all my thanks and respect goes to you Rens.

Now get your shit together and fix it. You got 2 types: people that like some challenge and people who die alone.

Still i think You are a genius in making a homepage Rens. compared with your talent people like Picasso, Einstein and Cruijff are an amateur. So i hope you can fix this.

With love and big kiss me :)

annom said...

"WIKI: upgrade it and simply copy paste our code into the new template."

No, the whole idea of blogger 2.0 is that its foundation is new. Copy and pasting our code doesn't work. I tried it and it failed (errors). It may be easy to fix, but I really don't know.

I just looked into all the features that the new template offers and it sucks. Nothing special there, not even a random quote or image gadget.

The only cool thing is the label list with numbers of posts per label.