This is a class inspired by and their great instant.js class of images being little rotated. This class uses excanvas - google implementation that solves problem with canvas in IE. In future versions I planing little animation on mouseover/mouseout.


Just put Wilq32.PhotoEffect into your class in your image:

<img src="image.jpg" class="Wilq32.PhotoEffect(10,10,5)">



- width - width of border
- height - height of border
- angle - rotation angle

Known Bugs:

Using <P> around image in Internet Explorer makes unproper behaviour, to solve this put image in <div><img></div> if you plan to use <p> around your img.

Change Log:

- version 0.4:

- Added rotating animation on mouseover (a little glitchy but working)

        - version 0.3:

                - solved problem with counting images on page

        - version 0.2:

                - solved problem with event onload, thanks to qbolec for finding bug

- version 0.1:

- Main relase,