Preview and crop images directly in the browser