Use browser to resize images to canvas size.