This site is not optimized for your current browser (Internet Explorer 6). The site is usable, but you may encounter visual errors. Please use a more modern version of any browser.

matt.toigo

WHY CONSUME WHEN YOU CAN CREATE?

Image Cropping and Resizing with Just Javascript

December 30th, 2013 dev

A quick example of resizing images using just Javascript and Canvas. A good way to replace server side technology like GD or ImageMagick when you want to let your users crop and resize photos.

Launch Demo (only tested in recent versions of Chrome, Safari, and Firefox)

Source (feel free to use it however you like)