Laurier Rochon

art, technology and other nice things


I made these

What is What?
What is what?
Doubting.us
Doubting.us
Digital ecology
Digital ecology
iamclean.org
iamclean.org
EASE
EASE
Fish need hard drive
Fish need hard drive

Find the gat

Guardians of the world

Suburban twins

{} Trailer


doubting.us – how to make your own


Doubting.us code

I’ve decided to put up all the code for my doubting.us project – it uses MooSizer to scale the images, JS, CSS, PHP and HTML for the rest. I decided to strip down the functionality so it could be easily shareable and easily updated. I had everything in a database but moved it into a PHP file instead, so there is no need to setup mySql, etc.

DOWNLOAD THE FILES HERE

Installing Doubting.us

1) Download the ZIP archive
2) Upload to your Web server, and that’s it!

How to add pictures

1) Open functions.php and add a new line to the array found at the top of the doc. Here’s the syntax to follow, don’t forget the comma at the end there :
array(”name_of_your_image.jpg”,”Descriptive text”,”Slide label”,”Permalink_parameter_use_a_number_here”),
2) upload the “name_of_your_images.jpg” image in the images folder, and you’re done.

How to delete pictures

Basically just undo what you did in the last step, although deleting the image in your “images” folder in not necessary. You can take out pretty much any line in that functions.php file, just make sure the code respects the syntax described earlier once you’re done.

© 2009 Laurier Rochon. All Rights Reserved.

This blog is powered by Wordpress and Magatheme by Bryan Helmig.