Shows some of the things instant.js does.
First image with class = "instant itiltleft icolor000000 ishadow50" all other images with class = "instant" only...

Images used are copyrighted and are used for demonstration only.
Download instant.js and include it into your webpage.
<script type="text/javascript" src="instant.js"></script>
To get the instant picture effect just add a class="instant" to the image (minimum dimension: 64x64).
If you want flexibility, use "cvi_instant_lib.js" instead of "instant.js". You can make your images respond to user actions (e.g. changing one or more options when the image is hovered over).
cvi_instant.defaultTilt = 'none'; //STR 'n|l|r'-'none|left|right'
cvi_instant.defaultShade = 33; //INT 0-100 (% opacity)
cvi_instant.defaultShadow = 33; //INT 0-100 (% opacity)
cvi_instant.defaultColor = '#f0f4ff'; //STR '#000000'-'#ffffff'
cvi_instant.defaultNoshade = false; //BOOLEAN
cvi_instant.defaultPreserve = false; //BOOLEAN
cvi_instant.add(image, options);cvi_instant.add(document.getElementById("myimg"), { shadow: 75, shade: 10 });
cvi_instant.modify(image, options);cvi_instant.modify(document.getElementById("myimg"), { tilt: "left" });
cvi_instant.remove(image);
In older browsers, the script degrades and your visitors won't notice a thing.
Please read the License before you download instant.js 1.5
Please read the Frequently Asked Questions before you contact the author.
Version 1.5
The inspiration for the script came from polaroid.rb.
Please leave any comments at this contact formular.
instant.js and cvi_instant_lib.js are distributed under the Netzgestade Non-commercial Software License Agreement.
License permits free of charge use on non-commercial and private web sites only under special conditions (as described in the license).
This license equals neither "open source" nor "public domain".
There are also Commercial Software Licenses available.