Interaction design • webdevelopment • web art • photography

September 2002

Update to the js photo filters: you can now Shift-click any photo on this site multiple times for 90°, 180° and 270° rotation. Wheee!

How it's done: = 'progid:DXImageTransform.Microsoft.BasicImage(rotation=1)'; //or 2, or 3

Here's an image to test it on:

And: it now also works for images in the forum. Useful when viewing the Upside-down photos.

adjam wrote on 2002/09/18:
not working 4 me!

milov wrote on 2002/09/18:
You might need IE5.5 or higher for this...

lacey wrote on 2002/09/18:
I think you are the coolest person I know. Er...maybe not "know"...but you get me. Awesome js magic!

Ruben wrote on 2002/09/18:
je maakt me gek!

mados wrote on 2002/09/19:
I prefer using imgRotation[obj.src]%4==2?'FlipV() FlipH()':'...' so it works in IE4+ too.

Ruben wrote on 2002/09/19:
Something is going wrong when you are rotating some of the images on the forum.
Because when you rotate them, you've a nice square and not a rectangle (the original format of the image)

milov wrote on 2002/09/19:
mados/Ruben: working on it...

Ruben wrote on 2002/09/20:
Which Ruben was that!!!

seppe wrote on 2002/10/06:
Nice effect! But it doesn't work in Mozilla :/

Drake S wrote on 2003/03/02:
is there a zoom effect?

Drake+S wrote on 2003/03/07:
ok, so how does one make the image rotate more than one time...?

Konrados wrote on 2003/07/22:
Drake S: Zoom is pretty simple to implement, just place the image u want to zoom on a layer, then resize (enlarge) it and clip the layer that it will reveal only a wanted part of resized image.

Jasper wrote on 2004/07/11:
The script is in a JS file of this site, their you see exact how it works.

Chris wrote on 2005/03/31:
i don';t understand? where do i put the code? and is that all the code that is required? please help!

Jay wrote on 2007/05/16:
this will not work in firefox mozzila

Jay wrote on 2007/05/16:

Jay wrote on 2007/05/16:
this will not work in firefox mozzila, as it uses MS DX, need to find something else for cross browser.

vinoth wrote on 2007/09/17:
Its not working in firefox.

vinay wrote on 2008/04/07:
it is not working in firefox .