Image Resizing & Cropping
with Canvas

image for resizing

Hint: hold SHIFT while resizing to keep the original aspect ratio.

Image by Alejandro Mallea

updated example from
https://tympanus.net/codrops/2014/10/30/resizing-cropping-images-canvas/

---

Back

Return to index