Koalas To The Max
Switch branches/tags
Nothing to show
Clone or download
Latest commit 2e17a07 Jun 15, 2015
Permalink
Failed to load latest commit information.
.idea added 404 page Jun 15, 2015
img stupid git casing fix Jan 10, 2013
polyfill better koalas Sep 27, 2013
test fixed utf8 custom pic names Aug 15, 2012
.gitignore added 404 page Jun 15, 2015
404.html added 404 page Jun 15, 2015
LICENSE added licence Feb 12, 2012
README.md Update README.md Dec 2, 2012
astley.jpg first code commit Nov 15, 2011
d3.min.js new d3 Apr 18, 2014
example_config.php ex config Jan 7, 2013
favicon.ico favicon + noscript Aug 18, 2012
favicon.png favicon + noscript Aug 18, 2012
image-server.php first code commit Nov 15, 2011
index.html added 404 page Jun 15, 2015
koala.css added 404 page Jun 15, 2015
koala.js better koalas Sep 27, 2013
stuff first code commit Nov 15, 2011

README.md

Introducation

Exploration of pixalized koalas*.

(*may include animals other than koalas)

Made with love by Vadim Ogievetsky for Annie Albagli

Powered by Mike Bostock's D3

Usage

Custom images

Supported URLs are:

  1. DOMAIN The just the page domain / loads one of the default files

  2. DOMAIN?BA5E64== Where BA5E64== is a UTF-8 base64 encoded string of one of the following things:

  3. An image URL

    Example: http://i.imgur.com/cz1Jb.jpg

    Use that URL image instead of the default one.

  4. A JSON string representing an array of URLs

    Example: ["http://i.imgur.com/cz1Jb.jpg","http://i.imgur.com/Q5IqH.jpg"]

    Pick one of the images at random and use that instead of the default one.

  5. A JSON string representing an object with the keys 'images', 'background' and 'hideNote'

    Example: {"background":"#000","images":["http://i.imgur.com/cz1Jb.jpg","http://i.imgur.com/Q5IqH.jpg"]}

    images (required): Pick one of the images at random and use that instead of the default one.

    background (optional): Use the value of background as the page background.

    hideNote (optional): Hide the mention on the bottom.

  6. DOMAIN?image_url

Where image URL is an actual image URL this is for backwards compatibility.

Example: http://i.imgur.com/cz1Jb.jpg

This is how putting in a custom image used to work.

  1. DOMAIN#a_string

This will redirect to DOMAIN?b64(a_string)

This should be used to construct things as above.

Note: where DOMAIN is usually http://koalastothemax.com