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)