Example of rotating, cropping, and resizing image within browser