$(“#id”).thumbnail(
{src: ‘image.jpg’,
dest: ‘thumb’,
width: 50,
height: 50});
- #id is the id of the canvas tag.
- ‘image.jpg’ is the image that goes in the canvas tag (left)
- ‘thumb’ is the id of the thumbnail’s destination (right)
- width and height and the size of the thumbnail (default 100)









